step 0. be at the directory that you want to set up the env
step1. make sure that you have virtualenv installed
https://gist.github.com/frfahim/73c0fad6350332cef7a653bcd762f08d
step2. $virtualenv projectName
=>this will set up up bin, include, and lib folder in current directory
step2-1. $ virtualenv -p python3 .
tag -p specifies the specific version of python
step3. source projectName/bin/activate
=> this will activate the env
step4. deactivate //to deactivate....
How to delete a virtual environment?
$rm -rf projectName
step1. make sure that you have virtualenv installed
https://gist.github.com/frfahim/73c0fad6350332cef7a653bcd762f08d
step2. $virtualenv projectName
=>this will set up up bin, include, and lib folder in current directory
step2-1. $ virtualenv -p python3 .
tag -p specifies the specific version of python
step3. source projectName/bin/activate
=> this will activate the env
step4. deactivate //to deactivate....
How to delete a virtual environment?
$rm -rf projectName
댓글
댓글 쓰기