Skip to content

Add a note to installation docs about dependencies #744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/sphinx/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ non-editable way, use one of the following commands to install pvlib-python::
# another option if you know what you are doing
pip install pvlib[optional]

.. note::

By default, pvlib will not install some infrequently used dependencies.
If you run into an error such as
`ModuleNotFoundError: No module named 'netCDF4'`
you can either install pvlib with all optional dependencies using
`pip install pvlib[optional]`, or you can install pvlib from conda-forge
`conda create -n pvlib -c conda-forge pvlib-python; conda activate pvlib`.

If your system complains that you don't have access privileges or asks
for a password then you're probably trying to install pvlib into your
system's Python distribution. This is usually a bad idea and you should
Expand Down