-
Notifications
You must be signed in to change notification settings - Fork 78
Description
环境
root@HKG-BLBL:~# cat /etc/issue
Debian GNU/Linux 10 \n \l
root@HKG-BLBL:# python --version# python3 --version
Python 2.7.16
root@HKG-BLBL:
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
Collecting onedrivesdk (from onedrivecmd)
Using cached https://files.pythonhosted.org/packages/b3/76/9a3fe5b36079f5c40b33c89ad6f7737e3b8609010a80c9ed24d762ddb93e/onedrivesdk-2.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-H3Sjfv/onedrivesdk/setup.py", line 9, in
with open(NOTICE, 'r', encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-H3Sjfv/onedrivesdk/
root@HKG-BLBL:~#
