python_setup

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
python_setup [2021/04/13 09:24] andonovjpython_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: 
-<Code:bash|Update PIP> 
-julienandonovs-MacBook-Pro:~ root# pip3 install --upgrade pip 
-Collecting pip 
-  Downloading https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl (1.5MB) 
-     |████████████████████████████████| 1.5MB 2.2MB/ 
-Installing collected packages: pip 
-  Found existing installation: pip 19.2.3 
-    Uninstalling pip-19.2.3: 
-      Successfully uninstalled pip-19.2.3 
-Successfully installed pip-21.0.1 
-julienandonovs-MacBook-Pro:~ root#  
-</Code> 
  
 ====Jupyter==== ====Jupyter====
Line 56: 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===
 +To update the pip, use the following command:
 +<Code:bash|Update PIP>
 +julienandonovs-MacBook-Pro:~ root# pip3 install --upgrade pip
 +Collecting pip
 +  Downloading https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl (1.5MB)
 +     |████████████████████████████████| 1.5MB 2.2MB/
 +Installing collected packages: pip
 +  Found existing installation: pip 19.2.3
 +    Uninstalling pip-19.2.3:
 +      Successfully uninstalled pip-19.2.3
 +Successfully installed pip-21.0.1
 +julienandonovs-MacBook-Pro:~ root# 
 +</Code>
  
  • python_setup.1618305850.txt.gz
  • Last modified: 2021/04/13 09:24
  • by andonovj