cnbeining / onedrivecmd

A command line client for Onedrive.
https://www.cnbeining.com/
GNU Affero General Public License v3.0
378 stars 78 forks source link

ubuntu18安装时报错 #75

Open wangebcjd opened 3 years ago

wangebcjd commented 3 years ago

用的pip install onedrivecmd。直接就报错了。 pip是正常的,可以pip install 其它程序,有python3。

ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wpktvtbt/onedrivesdk/setup.py'"'"'; file='"'"'/tmp/pip-install-wpktvtbt/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-pip-egg-info-al24kpva cwd: /tmp/pip-install-wpktvtbt/onedrivesdk/ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-wpktvtbt/onedrivesdk/setup.py", line 9, in with open(NOTICE, 'r', encoding='utf-8') as f: NotADirectoryError: [Errno 20] Not a directory: '/tmp/pip-install-wpktvtbt/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.

mvpbang commented 3 years ago

use onedrivesdk 1.1.8, do't use lasted!