Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
python_setup [2021/04/13 09:24] – andonovj | python_setup [2021/06/28 13:54] (current) – andonovj | ||
---|---|---|---|
Line 4: | Line 4: | ||
=====Setup===== | =====Setup===== | ||
- | |||
- | ====Python==== | ||
- | |||
- | ===Update PIP=== | ||
- | To update the pip, use the following command: | ||
- | < | ||
- | julienandonovs-MacBook-Pro: | ||
- | Collecting pip | ||
- | Downloading https:// | ||
- | | ||
- | Installing collected packages: pip | ||
- | Found existing installation: | ||
- | Uninstalling pip-19.2.3: | ||
- | Successfully uninstalled pip-19.2.3 | ||
- | Successfully installed pip-21.0.1 | ||
- | julienandonovs-MacBook-Pro: | ||
- | </ | ||
====Jupyter==== | ====Jupyter==== | ||
Line 56: | Line 39: | ||
</ | </ | ||
+ | ====Package Managers==== | ||
+ | Python has couple packet managers: | ||
+ | * Conda | ||
+ | * Pip | ||
+ | |||
+ | We can update all packages using the conda as follows: | ||
+ | |||
+ | < | ||
+ | (conda prompt)$ conda update --all | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ===Install specific library=== | ||
+ | We can install a specific library as follows: | ||
+ | |||
+ | < | ||
+ | conda install -c conda-forge ipyml | ||
+ | conda install nodejs | ||
+ | jupyter labextension install @jupyter-widgets/ | ||
+ | jupyter labextension install jupyter-matplotlib | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===Update PIP=== | ||
+ | To update the pip, use the following command: | ||
+ | < | ||
+ | julienandonovs-MacBook-Pro: | ||
+ | Collecting pip | ||
+ | Downloading https:// | ||
+ | | ||
+ | Installing collected packages: pip | ||
+ | Found existing installation: | ||
+ | Uninstalling pip-19.2.3: | ||
+ | Successfully uninstalled pip-19.2.3 | ||
+ | Successfully installed pip-21.0.1 | ||
+ | julienandonovs-MacBook-Pro: | ||
+ | </ | ||