python:start
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
python:start [2022/06/26 16:03] – created rolf | python: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" | ||
+ | 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 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | conda create -c conda-forge -n pvlib python=3 jupyterlab matplotlib pvlib-python | ||
</ | </ |
python/start.1656259429.txt.gz · Last modified: 2022/06/26 16:03 by rolf