# Lehigh ISE / COR@L Lab Wiki

### Site Tools

setup:pythonvirtual

# Differences

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

 setup:pythonvirtual [2016/10/06 14:46]sey212 setup:pythonvirtual [2016/12/13 10:23] (current)sertalpbilal Visual changes Both sides previous revision Previous revision 2016/12/13 10:23 sertalpbilal Visual changes2016/10/06 14:46 sey212 2016/10/06 11:34 sey212 2016/10/06 11:17 sey212 2016/10/06 11:09 sey212 2016/10/06 10:57 sey212 created 2016/12/13 10:23 sertalpbilal Visual changes2016/10/06 14:46 sey212 2016/10/06 11:34 sey212 2016/10/06 11:17 sey212 2016/10/06 11:09 sey212 2016/10/06 10:57 sey212 created Line 15: Line 15: Just what you need, a standalone python which is yours and you have the control over it..! Thus you** don’t need any super privileges** to install libraries or better yet you can have multiple python environments with different settings and packages. The steps to get and use this tool is quite easy: Just what you need, a standalone python which is yours and you have the control over it..! Thus you** don’t need any super privileges** to install libraries or better yet you can have multiple python environments with different settings and packages. The steps to get and use this tool is quite easy: - ==Install it using PIP (Skip this step in COR@L Machines)== + =====Install it using PIP (Skip this step in COR@L Machines)===== $pip install virtualenv$ pip install virtualenv​ - ==Setup== + =====Setup===== Create a folder to contain the files regarding to virtual python instance . Running the second command creates the mentioned folder named “vpython”. Create a folder to contain the files regarding to virtual python instance . Running the second command creates the mentioned folder named “vpython”. Line 25: Line 25: -  To start using the new python -  To start using the new python - ==Initialize== + =====Initialize===== $source vpython/​bin/​activate$ source vpython/​bin/​activate (vpython)$​ (vpython)$ ​ Line 31: Line 31: - ==Going back to Normal== + =====Going back to Normal===== After your work is done you can simply deactivate the active environment and get back to normal boring settings.! After your work is done you can simply deactivate the active environment and get back to normal boring settings.! Line 37: Line 37: $deactivate ​$ deactivate ​ - <​note>​Contact Alireza for more help regarding this page.​ + <​note>​Contact ​[[:​coral_lab#​administrators|Alireza ​[sey212]]] ​for more help regarding this page.