Difference between revisions of "Python"

From Wasya Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
  pip install scipy
 
  pip install scipy
 
  pip install trimesh
 
  pip install trimesh
  pip install imageio tensorboardX pandas  
+
  pip install imageio tensorboardX pandas matplotlib
 +
pip install -r requirements.txt
  
 
  deactivate
 
  deactivate
 +
 +
== python 2.7 ==
 +
 +
  sudo apt-get install python2.7-dev
 +
  sudo apt install python-pip
 +
  pip2 install virtualenv 
 +
  python2.7 -m virtualenv zenv
 +
  . zenv/bin/activate

Latest revision as of 02:29, 4 November 2024

python3 -m pip install --user --upgrade pip
python3 -m pip --version
python3 -m venv zenv
. zenv/bin/activate
pip install opencv-python
pip install scipy
pip install trimesh
pip install imageio tensorboardX pandas matplotlib
pip install -r requirements.txt
deactivate

python 2.7

 sudo apt-get install python2.7-dev
 sudo apt install python-pip
 pip2 install virtualenv  
 python2.7 -m virtualenv zenv
 . zenv/bin/activate