鱼C论坛

 找回密码
 立即注册
查看: 1310|回复: 1

[技术交流] 求助安装Ta-Lib问题,折腾了好久了装不上啊

[复制链接]
发表于 2020-5-7 12:20:39 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

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
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

 楼主| 发表于 2020-5-7 15:39:48 | 显示全部楼层
自己解决了。。虽然是在https://www.lfd.uci.edu/~gohlke/pythonlibs/这里下的文件,但是真的没想到文件下载下来有问题,下了个新的顺利解决
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-11-27 05:37

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表