按照https://github.com/xybu/onedrived-dev一步步安装,
到了pip3 install --user git+https://github.com/xybu/onedrived-dev.git这一步就出现这个错误。
随后发现,所有的pip安装都会出现这个问题。试过更改python版本和更新pip3也解决不了。
```powershell
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xnhh9mk_/onedrivesdk/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xnhh9mk_/onedrivesdk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-xnhh9mk_/onedrivesdk/pip-egg-info
cwd: /tmp/pip-install-xnhh9mk_/onedrivesdk/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-xnhh9mk_/onedrivesdk/setup.py", line 9, in <module>
with open(NOTICE, 'r', encoding='utf-8') as f:
NotADirectoryError: [Errno 20] Not a directory: '/tmp/pip-install-xnhh9mk_/onedrivesdk/setup.py/../NOTICE.rst'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
在遵循https://github.com/xybu/onedrived-dev的安装教程过程中遇到错误,所有使用pip3安装的包均报错。尝试了切换Python版本和升级pip3,问题仍未解决。
1万+





