在Windows计算机上安装fancyimpute的问题

时间:2018-09-13 14:03:18

标签: python python-3.x pip fancyimpute

我以前在Mac上运行过此功能,但似乎无法在Windows上运行。我正在尝试为python安装fancyimpute软件包,但键入后出现错误消息:

pip install fancyimpute

我得到。行1175,in_REalGetContents引发BedZipFile(“文件不是zip文件”)zipfile.BadZipFile:文件不是zip文件)。

我也尝试使用以下方法回答另一个答案:     康达安装生态     康达安装CVXcanon

然后执行pip install fancyimpute,但这也无济于事。

这是我收到的错误消息:

Exception:
Traceback (most recent call last):
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\basecommand.py", line 141, in main
status = self.run(options, args)
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\commands\install.py", line 299, in run
resolver.resolve(requirement_set)
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\resolve.py", line 102, in resolve
self._resolve_one(requirement_set, req)
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\resolve.py", line 256, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\resolve.py", line 209, in _get_abstract_dist_for
self.require_hashes
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\operations\prepare.py", line 283, in prepare_linked_requirement
progress_bar=self.progress_bar
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\download.py", line 823, in unpack_url
unpack_file_url(link, location, download_dir, hashes=hashes)
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\download.py", line 728, in unpack_file_url
unpack_file(from_path, location, content_type, link)
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\utils\misc.py", line 578, in unpack_file
flatten=not filename.endswith('.whl')
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\site- 
packages\p
ip\_internal\utils\misc.py", line 463, in unzip_file
zip = zipfile.ZipFile(zipfp, allowZip64=True)
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\zipfile.py", 
li
ne 1108, in __init__
self._RealGetContents()
File "c:\users\mkheifetz\appdata\local\continuum\anaconda3\lib\zipfile.py", 
li
ne 1175, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

0 个答案:

没有答案