|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
直接pip安装会报错,下载对应3.7版本的安装包后,再pip还是报错,折腾了一天多了,找不到解决办法哪位大佬知道什么原因啊
(base) E:\>pip install TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing e:\ta_lib-0.4.17-cp37-cp37m-win_amd64.whl
ERROR: Exception:
Traceback (most recent call last):
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\cli\base
_command.py", line 188, in _main
status = self.run(options, args)
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\cli\req_
command.py", line 185, in wrapper
return func(self, options, args)
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\commands
\install.py", line 333, in run
reqs, check_supported_wheels=not options.target_dir
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\resoluti
on\legacy\resolver.py", line 179, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\resoluti
on\legacy\resolver.py", line 362, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\resoluti
on\legacy\resolver.py", line 314, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\operatio
ns\prepare.py", line 412, in prepare_linked_requirement
hashes=hashes,
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\operatio
ns\prepare.py", line 203, in unpack_url
unpack_file(file.path, location, file.content_type)
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\utils\un
packing.py", line 252, in unpack_file
flatten=not filename.endswith('.whl')
File "f:\anaconda3\lib\site-packages\pip-20.1-py3.7.egg\pip\_internal\utils\un
packing.py", line 114, in unzip_file
zip = zipfile.ZipFile(zipfp, allowZip64=True)
File "f:\anaconda3\lib\zipfile.py", line 1258, in __init__
self._RealGetContents()
File "f:\anaconda3\lib\zipfile.py", line 1325, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
|
|