安装python wheel library后的矛盾观察

时间:2017-04-12 14:38:34

标签: python python-2.7 virtualenv python-wheel

我已按如下方式成功安装了轮子:

(py2.7) [abcd@cluster1830 ~]$ pip install /data/pythonlibs/wheel-0.29.0-py2.py3-none-any.whl
Processing /data/pythonlibs/wheel-0.29.0-py2.py3-none-any.whl
Installing collected packages: wheel
Found existing installation: wheel 0.30.0a0
  Uninstalling wheel-0.30.0a0:
  Successfully uninstalled wheel-0.30.0a0
  Successfully installed wheel-0.29.0

然后我尝试使用以下命令检查已安装的库

(py2.7) [abcd@cluster1830 ~]$ pip freeze > /data/dump.txt

打开dump.txt,我找不到已安装的轮库,

(py2.7) [abcd@cluster1830 ~]$ cat /data/dump.txt
protobuf==3.1.0.post1
six==1.10.0

与此同时,我在import wheel

尝试了python
(py2.7) [abcd@cluster1830 ~]$ python
Python 2.7.9 (default, Apr 11 2017, 10:32:43)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wheel
>>>

看起来很有效,让我感到困惑。我是否安装了轮库?

在安装tensorflow期间,我收到以下错误消息,

 Could not find any downloads that satisfy the requirement wheel>=0.26 (from tensorflow-gpu==1.0.1)
 No distributions at all found for wheel>=0.26 (from tensorflow-gpu==1.0.1)

0 个答案:

没有答案