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

在遵循https://github.com/xybu/onedrived-dev的安装教程过程中遇到错误,所有使用pip3安装的包均报错。尝试了切换Python版本和升级pip3,问题仍未解决。

按照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.


评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值