点子升级后无法安装numpy [英] Can't install numpy after a pip upgrade

查看:105
本文介绍了点子升级后无法安装numpy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于某些原因,将pip升级到19.0版后,我无法安装最新版本的numpy(它仍然可以与pip 18.1版完美配合使用).

For some reason, after pip is upgraded to version 19.0, I'm not able to install the most recent version of numpy (it still perfectly works with pip version 18.1).

我跑步时

pip install numpy --no-cache

我得到这个例外

Exception:
Traceback (most recent call last):
  File "/home/me/.venvs/_/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 176, in main
    status = self.run(options, args)
  File "/home/me/.venvs/_/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 346, in run
    session=session, autobuilding=True
  File "/home/me/.venvs/_/lib/python3.6/site-packages/pip/_internal/wheel.py", line 848, in build
    assert building_is_possible
AssertionError

我还使用python 3.6版和virtualenvwrapper 16.0.0版.

I'm also using python version 3.6, and virtualenvwrapper version 16.0.0.

UPD 0

pip install numpy --no-cache -v

给出了此巨大输出

UPD 1 我已经在numpy问题跟踪器上打开了错误请求.

UPD 1 I've opened a bug request on the numpy issue tracker.

推荐答案

这是因为pip v19.0已发布 git rep 是10天前.我认为我们必须等待与pip v19.0兼容的更新.

That is because pip v19.0 was released yesterday and the latest push to the numpy git rep was 10 days ago. I think we have to wait for an update to be compatible with pip v19.0.

根据 @frmdstryr 的评论,已发布pip v19.0.1来解决此问题.

Edit 1: Based on @frmdstryr comment, pip v19.0.1 has been released to fix this.

这篇关于点子升级后无法安装numpy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆