Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
python_setup [2021/04/13 09:22] – created andonovj | python_setup [2021/06/28 13:54] (current) – andonovj | ||
---|---|---|---|
Line 4: | Line 4: | ||
=====Setup===== | =====Setup===== | ||
- | |||
- | |||
====Jupyter==== | ====Jupyter==== | ||
Line 41: | 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=== | ===Update PIP=== | ||
To update the pip, use the following command: | To update the pip, use the following command: | ||
- | |||
< | < | ||
julienandonovs-MacBook-Pro: | julienandonovs-MacBook-Pro: | ||
Line 58: | Line 78: | ||
julienandonovs-MacBook-Pro: | julienandonovs-MacBook-Pro: | ||
</ | </ | ||
+ |