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
Last revisionBoth sides next revision
python:start [2022/06/26 16:22] – [Create Conda Environment for PVLIB] rolfpython:start [2022/06/28 09:16] – [Create Conda Environment for PVLIB] rolf
Line 3: Line 3:
 ===== Create Conda Environment for PVLIB ===== ===== Create Conda Environment for PVLIB =====
  
-<code bash+<file 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 environment. Now you work in the env. pvlib+# activate the environment named pvlib
 conda activate pvlib conda activate pvlib
  
-conda install -c conda-forge 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.txt · Last modified: 2022/06/28 09:18 by rolf