我有PythonVersion2.7和3.5.3,但是我需要在python3.5.3版本上安装pyhdf库。我怎么安装它?
发布于 2017-08-06 12:52:33
后来我安装了它,我从这里得到了一些帮助,https://gist.github.com/eightysteele/1408088。我使用了以下代码
cd pyhdf-0.9.0
export INCLUDE_DIRS=/usr/include/hdf
export LIBRARY_DIRS=/usr/lib
export NOSZIP=1
python3 setup.py install
sudo python3 setup.py install在python3中安装它唯一需要做的就是编写python3而不是python。
发布于 2019-05-28 08:54:20
我昨天在github问题上问了这个问题后得到了答案。
使用conda:
conda install -c conda-forge python=3.7 pyhdfhttps://askubuntu.com/questions/943055
复制相似问题