onedrivecmd
onedrivecmd copied to clipboard
A command line client for Onedrive.
安装报错
环境 root@HKG-BLBL:~# cat /etc/issue Debian GNU/Linux 10 \n \l root@HKG-BLBL:~# python --version Python 2.7.16 root@HKG-BLBL:~# python3 --version Python 3.7.3 root@HKG-BLBL:~# 报错信息 root@HKG-BLBL:~# pip install onedrivecmd Collecting onedrivecmd Using cached https://files.pythonhosted.org/packages/2a/bd/162f2536876076a075a2c1dd117a48cdd7a3cf07df0338bc0f2cf5d13ffb/OnedriveCMD-0.1.8.1.tar.gz...
pip install onedrivecmd root@localhost:~# onedrivecmd init Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/onedrivecmd/utils/actions.py", line 13, in from helper_file import * ModuleNotFoundError: No module named 'helper_file' During handling of the above...
Traceback (most recent call last): File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\actions.py", line 11, in from static import * ModuleNotFoundError: No module named 'static' During handling of the above exception, another exception occurred: Traceback (most...
场景:ssh登录至远程服务器, 没有gui 环境, 无法弹出浏览器输入
用的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'"'"'))'...
where try business activation get an error with api.office.com requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.office.com', port=443): Max retries exceeded with url: /discovery/v2.0/me/services (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name...
PS E:\win64> onedrivecmd Traceback (most recent call last): File "c:\program files\python37\lib\site-packages\onedrivecmd\utils\actions.py", line 13, in from helper_file import * ModuleNotFoundError: No module named 'helper_file' During handling of the above exception, another...
使用的是Python3.7.3版本,使用一键安装命令直接报错,具体报错原因有点搞不懂...最后使用源码安装,然后安装期间还是报错,内容如下: Not a directory: '/tmp/easy_install-zugls9w5/onedrivesdk-2.0/setup.py/../NOTICE.rst' 他告诉我没有这个目录...我实在是懵逼.. 这是源码报错内容: ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-TVAtBr/onedrivesdk/setup.py'"'"'; __file__='"'"'/tmp/pip-install-TVAtBr/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 pip-egg-info cwd: /tmp/pip-install-TVAtBr/onedrivesdk/ Complete...