Advertisement
s_hossain18

Python Package Install

Aug 21st, 2022
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. import sys
  2. !conda install --yes --prefix {sys.prefix} [list of packages to be installed using conda]
  3. !{sys.executable} -m pip install [list of packages to be installed using pip]
  4.  
  5. #For example, to install the latest version of OceanSpy, use the following cell:
  6.  
  7. import sys
  8. !{sys.executable} -m pip install --upgrade git+https://github.com/hainegroup/oceanspy.git
  9.  
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement