Skip to content

Commit 695ec23

Browse files
odowcwhanse
authored andcommitted
Add a note to installation docs about dependencies (#744)
* Add a note to installation docs about dependencies * Minor formatting tweaks * Update wording of the note
1 parent d8f38dd commit 695ec23

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/sphinx/source/installation.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@ non-editable way, use one of the following commands to install pvlib-python::
7777
# another option if you know what you are doing
7878
pip install pvlib[optional]
7979

80+
.. note::
81+
82+
By default, pvlib will not install some infrequently used dependencies.
83+
If you run into an error such as
84+
`ModuleNotFoundError: No module named 'netCDF4'`
85+
you can either install pvlib with all optional dependencies using
86+
`pip install pvlib[optional]`, or you can install pvlib from conda-forge
87+
`conda create -n pvlib -c conda-forge pvlib-python; conda activate pvlib`.
88+
8089
If your system complains that you don't have access privileges or asks
8190
for a password then you're probably trying to install pvlib into your
8291
system's Python distribution. This is usually a bad idea and you should

0 commit comments

Comments
 (0)