User Tools

Site Tools


python:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python:start [2022/06/26 16:10] – [Create Conda Environment for PVLIB] rolfpython:start [2022/06/28 09:18] (current) – [Create Conda Environment for PVLIB] rolf
Line 3: Line 3:
 ===== Create Conda Environment for PVLIB ===== ===== Create Conda Environment for PVLIB =====
  
-<code shell+<file bash install_conda_env.sh
-make conda-forge the default conda installation channel+Make conda-forge the default conda installation channel
 +# This makes "-c conda-forge" channel selection unnecessary.  
 conda config --add channels conda-forge conda config --add channels conda-forge
 conda config --set channel_priority strict conda config --set channel_priority strict
Line 11: Line 12:
 conda create --name pvlib python=3 conda create --name pvlib python=3
  
 +# activate the environment named pvlib
 +conda activate pvlib
 +
 +# install jupyter lab, -c option used explicitly, anyway ...
 +conda install -c conda-forge jupyterlab 
 +
 +# install matplotlib, the standard plot package
 +conda install -c conda-forge matplotlib
 +
 +# install pvlib from conda-forge
 +conda install -c conda-forge pvlib-python
 +</file>
 +
 +<code>
 +conda create -c conda-forge -n pvlib python=3 jupyterlab matplotlib pvlib-python
 </code> </code>
python/start.1656259847.txt.gz · Last modified: 2022/06/26 16:10 by rolf