您的位置:首页 > 其它

pip3安装出现ERROR: Command errored out with exit status 1:

2020-03-01 08:39 736 查看

按照https://github.com/xybu/onedrived-dev一步步安装,
到了

pip3 install --user git+https://github.com/xybu/onedrived-dev.git
这一步就出现这个错误。
随后发现,所有的pip安装都会出现这个问题。试过更改python版本和更新pip3也解决不了。

```powershellERROR: 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-infocwd: /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.
  • 点赞
  • 收藏
  • 分享
  • 文章举报
JEFFYLLW发布了1 篇原创文章 · 获赞 0 · 访问量 123私信关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐