python_virtual_environments
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python_virtual_environments [2023/04/28 15:44] – juckins | python_virtual_environments [2023/08/10 11:35] (current) – juckins | ||
---|---|---|---|
Line 16: | Line 16: | ||
* (Accept license agreement and all the suggested default choices) | * (Accept license agreement and all the suggested default choices) | ||
+ | * Note that if you do not want conda' | ||
- | ~/ | + | |
+ | |||
+ | Now try creating a test conda environment: | ||
+ | |||
+ | cd ~/ | ||
+ | | ||
~/ | ~/ | ||
Line 29: | Line 35: | ||
conda deactivate | conda deactivate | ||
| | ||
- | Other useful commmands: | + | Other useful commmands |
- | conda create -n testenv2 python=3.11.3 | + | conda create -n testenv2 python=3.11.3 |
conda activate testenv2 | conda activate testenv2 | ||
| | ||
Line 44: | Line 50: | ||
conda remove --name myenv --all (remove a conda environment) | conda remove --name myenv --all (remove a conda environment) | ||
- | __Running a cron under conda__ | + | __Running a cron under conda (is this correct?)__ |
21 15 * * * conda activate testenv2; / | 21 15 * * * conda activate testenv2; / | ||
python_virtual_environments.1682711054.txt.gz · Last modified: 2023/04/28 15:44 by juckins