User Tools

Site Tools


python:start

Differences

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

Link to this comparison view

Next revision
Previous revision
python:start [2022/06/26 16:03] – created 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>+<file bash install_conda_env.sh> 
 +# Make conda-forge the default conda installation channel. 
 +# This makes "-c conda-forge" channel selection unnecessary.   
 +conda config --add channels conda-forge 
 +conda config --set channel_priority strict 
 + 
 +# create the environment pvlib with python3
 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.1656259429.txt.gz · Last modified: 2022/06/26 16:03 by rolf