How to install#
Recent releases of pydap may require upgrading Python versions. The latest version of pydap requires Python=>3.12. Pydap can be installed via PyPI as follows:
pip install pydap
or in the case you are using Anaconda:
conda install pydap
Note
If you already have mamba installed, you can replace all conda in the commands with mamba.
This installation of pydap will include the minimal dependencies to allow users to subset remote data on OPeNDAP servers.
Note
We recommend to use package installation managers like conda/mamba. This requires the installation of Miniforge
Reproducible (conda) environments#
You can easily use conda to install pydap and any optional packages for sharing a reproducible workflow. For example:
conda create -n pydap_env -c conda-forge python=3.12 pydap
conda activate pydap_env
Note
If you already have mamba installed, you can replace all conda in the commands with mamba.
Optional to run notebooks in this documentation#
matplotlibjupyterlabcartopyxarrayearthaccess
To install the latest pydap version (client-only), directly from the GitHub repository, run:
pip install --upgrade git+https://github.com/pydap/pydap.git
This version is not stable and is under active developement. We only recommend this if the official release has a bug that has been address in the source repository.
If you are interested in installing pydap in editable mode to contribute to the project, go to Contributing to the code.