User Tools

Site Tools


setup:pythonvirtual

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
setup:pythonvirtual [2016/10/06 10:57]
sey212 created
setup:pythonvirtual [2016/10/06 14:46]
sey212
Line 1: Line 1:
-<note>Contact Alireza for more help regarding this page.</note> 
- 
 ======Python Virtual Environment====== ======Python Virtual Environment======
  
-Q: Admin can you install package?+Q: Admin can you **install** package //X//?
  
-Q: Can you remove package which is conflicting with something else?+Q: Can you **remove** package //Y// which is conflicting with //X// and meanwhile update package //Z//?
  
-Q: Can I do **anything** I want **without having to ask**?+Q: On second thought, Can I do **anything** I want **without having to ask**?
  
  
Line 24: Line 22:
  
 <code bash>$ mkdir myPython && cd myPython <code bash>$ mkdir myPython && cd myPython
-/myPython virtualenv vpython</code>+$ virtualenv vpython</code>
   -  To start using the new python   -  To start using the new python
  
 ==Initialize== ==Initialize==
-<code bash>/myPython$ source vpython/bin/activate +<code bash>$ source vpython/bin/activate 
-(vpython) /myPython$</code> +(vpython)$</code> 
 From now on any **python runs** or installations using **pip** will be done corresponding to the python copy located at **vpython**. This is what the// (vpython)// means in your **bash** prompt. Feel free to install any packages you like without any problems.! From now on any **python runs** or installations using **pip** will be done corresponding to the python copy located at **vpython**. This is what the// (vpython)// means in your **bash** prompt. Feel free to install any packages you like without any problems.!
  
Line 38: Line 36:
  
 <code bash>$ deactivate</code>  <code bash>$ deactivate</code> 
 +
 +<note>Contact Alireza for more help regarding this page.</note>
setup/pythonvirtual.txt · Last modified: 2016/12/13 10:23 by sertalpbilal