python_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
python_setup [2021/04/13 09:22] – created andonovjpython_setup [2021/06/28 13:54] (current) andonovj
Line 4: Line 4:
  
 =====Setup===== =====Setup=====
- 
- 
  
 ====Jupyter==== ====Jupyter====
Line 41: Line 39:
 </Code> </Code>
  
 +====Package Managers====
 +Python has couple packet managers:
 +
 +  * Conda
 +  * Pip
 +
 +We can update all packages using the conda as follows:
 +
 +<Code:bash|Update Anaconda>
 +(conda prompt)$ conda update --all
 +
 +</Code>
 +
 +
 +===Install specific library===
 +We can install a specific library as follows:
 +
 +<Code:bash|Install a library>
 +conda install -c conda-forge ipyml
 +conda install nodejs
 +jupyter labextension install @jupyter-widgets/jupyterlab-manager
 +jupyter labextension install jupyter-matplotlib
 +</Code>
  
  
 ===Update PIP=== ===Update PIP===
 To update the pip, use the following command: To update the pip, use the following command:
- 
 <Code:bash|Update PIP> <Code:bash|Update PIP>
 julienandonovs-MacBook-Pro:~ root# pip3 install --upgrade pip julienandonovs-MacBook-Pro:~ root# pip3 install --upgrade pip
Line 58: Line 78:
 julienandonovs-MacBook-Pro:~ root#  julienandonovs-MacBook-Pro:~ root# 
 </Code> </Code>
 +
  • python_setup.1618305734.txt.gz
  • Last modified: 2021/04/13 09:22
  • by andonovj