Difference between revisions of "Python notes"
(→Misc) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{TocRight}} |
{{TocRight}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
= Anaconda notes = |
= Anaconda notes = |
||
Line 37: | Line 46: | ||
== List your Environments == |
== List your Environments == |
||
conda env list |
conda env list |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
= Misc = |
= Misc = |
Latest revision as of 21:51, 9 June 2022
Libraries, useful
- numpy, scipy
- matplotlib
Anaconda notes
Installing Python 3 along 2.7
conda create -n py37 python=3.7 anaconda
To activate this environment, use:
source activate py37
To deactivate an active environment, use:
source deactivate
Install the notebook and some useful libs
conda install numpy pandas matplotlib ipywidgets pyyaml notebook ipykernel
For the pptx generator
conda install -c conda-forge python-pptx
or
pip install python-pptx
For the map processing
conda install basemap
Install Jupyter notebook (and create a new environment)
conda create -n py36 python=3.6 source activate py36 conda install notebook ipykernel ipython kernel install --user
List your Environments
conda env list
Misc
- Pandas notes - datu analīze ar Python