【发布时间】:2019-02-05 20:27:12
【问题描述】:
我想在我的 Linux Mint 17(模仿 Ubuntu 14.04)上安装 Tenosrflow python 的包,但它要求 numpy 比 1.8.2 更新。
当我尝试通过 pip 进行更新时,它会显示以下内容:
Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
如果我尝试使用 apt-get purge 清除 numpy,它会回复说它还必须卸载一些重要的软件包,这让我很害怕。
virtualenv 也无济于事。
有人可以推荐怎么做吗?
【问题讨论】:
-
你尝试过使用 sudo apt-get 对吧?
-
试试
easy_install numpy,应该升级numpy
标签: python pip virtualenv apt-get