VeighNa量化社区
你的开源社区量化交易平台
Nowhere2021's Avatar
Member
离线
1 帖子
声望: 0

pip install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com这一步报错,请大神指点下。
如下:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-install-WXabU3/futu-api/setup.py'"'"'; file='"'"'/private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-install-WXabU3/futu-api/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 /private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-pip-egg-info-l3Lixb
cwd: /private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-install-WXabU3/futu-api/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-install-WXabU3/futu-api/setup.py", line 32, in <module>
with open("README.md", "r", encoding='utf-8') as fh:

TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

© 2015-2022 微信 18391752892
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】