pip3 install h5py对pyhton3不起作用,因为h5py可用于python2.7

时间:2018-03-16 10:14:26

标签: python-3.x pip h5py

我使用的是Ubuntu 16.04,我安装了Python 2.7和Python 3.5。我想在两个版本中使用h5py

但是,如果我输入

pip3 install h5py

它说

Requirement already satisfied: h5py in /home/veronika/.local/lib/python2.7/site-packages
Requirement already satisfied: six in /home/veronika/.local/lib/python2.7/site-packages (from h5py)
Requirement already satisfied: numpy>=1.7 in /home/veronika/.local/lib/python2.7/site-packages (from h5py)

并且使用Python 3无法导入h5py

有任何解决此问题的想法吗?

0 个答案:

没有答案