我使用的是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
。
有任何解决此问题的想法吗?