@@ -73,6 +73,10 @@ non-editable way, use one of the following commands to install pvlib-python::
7373 # best option if you know what you are doing
7474 pip install pvlib
7575
76+ # get pvlib and optional dependencies from the Python Package Index
77+ # another option if you know what you are doing
78+ pip install pvlib[optional]
79+
7680If your system complains that you don't have access privileges or asks
7781for a password then you're probably trying to install pvlib into your
7882system's Python distribution. This is usually a bad idea and you should
@@ -163,9 +167,9 @@ referred to as *conda environments*, but they're the same for our purposes.
163167#. **Create ** a new conda environment for pvlib and pre-install
164168 the required packages into the environment:
165169 ``conda create --name pvlibdev python pandas scipy ``
166- #. **Activate ** the new conda environment: ``source activate pvlibdev ``
170+ #. **Activate ** the new conda environment: ``conda activate pvlibdev ``
167171#. **Install ** additional packages into your development environment:
168- ``conda install jupyter ipython matplotlib seaborn pytest nose flake8 ``
172+ ``conda install jupyter ipython matplotlib pytest nose flake8 ``
169173
170174The `conda documentation <https://conda.io/docs/index.html >`_ has more
171175information on how to use conda virtual environments. You can also add
@@ -181,10 +185,12 @@ Good news -- installing the source code is the easiest part!
181185With your conda/virtual environment still active...
182186
183187#. **Install ** pvlib-python in "development mode" by running
184- ``pip install -e /path/to/your/pvlib-python ``.
185- You remember this path from the clone step, right? It's probably
186- something like ``C:\Users\%USER%\Documents\GitHub\pvlib-python ``
187- (Windows) or ``/Users/%USER%/Documents/pvlib-python `` (Mac).
188+ ``pip install -e . `` from within the directory you previously cloned.
189+ Consider installing pvlib using ``pip install -e .[all] `` so that
190+ you can run the unit tests and build the documentation.
191+ Your clone directory is probably similar to
192+ ``C:\Users\%USER%\Documents\GitHub\pvlib-python``(Windows) or
193+ ``/Users/%USER%/Documents/pvlib-python `` (Mac).
188194#. **Test ** your installation by running ``python -c 'import pvlib' ``.
189195 You're good to go if it returns without an exception.
190196
@@ -229,6 +235,11 @@ include:
229235
230236The Anaconda distribution includes most of the above packages.
231237
238+ Alternatively, users may install all optional dependencies using
239+
240+ pip install pvlib[optional]
241+
242+
232243.. _nrelspa :
233244
234245NREL SPA algorithm
0 commit comments