From: Peter K. <pe...@pe...> - 2021-05-12 20:46:24
|
Hi Suqian, The libhdf4 and libhdfeos2 libraries should be installed from the Linux distribution repositories (not conda). If you use a Debian-derived distribution (e.g. Ubuntu), use this apt install command: sudo apt install --no-install-recommends python3 python3-dev gcc python3-distutils cython3 libhdf4-dev libhdfeos-dev python3-pil python3-numpy python3-matplotlib python3-mpltoolkits.basemap ttf-bitstream-vera The installation instructions on the website are for native Python installed from Linux distribution repositories. Installation under conda would require some other steps not described on the website: - Install git and libgeos, on Debian or Ubuntu with: apt install git libgeos-dev - Install basemap from their GitHub repository. Installing basemap with `conda install` does not work because the package appears to be out of date. pip3 install git+https://github.com/matplotlib/basemap.git - Install ccplot under conda (without using `sudo`): python3 setup.py install I have tested this on Ubuntu 21.04 with the latest Anaconda 3. What Linux distribution are you using? Kind regards, Peter -- Dr. Peter Kuma E-mail: pe...@pe... PGP key: https://peterkuma.net/pgp/peterkuma.asc Web: https://peterkuma.net/science On Wed, 12 May 2021 15:13:54 +0000 "Chu, Suqian" <sc...@al...> wrote: > Hello, > > I am trying to install ccplot on Linux using conda command. But I > failed to install libhdf4 and libhdfeos2 (see attached). I have tried > to update conda but it didn`t work. Could you please help with it? > > Many thank in advance! > > Suqian |