Created
July 29, 2017 18:06
-
-
Save anis016/9bac1dc1a307e90892d0906c23a9a419 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. login with sudo mode | |
$ sudo su | |
2. install virtualenv | |
$ pip install virtualenv | |
3. goto the folder where you want to create virtualenvironment | |
$ cd /home/work/python | |
4. create virtualenv using a given python version [if omitted, '-p /usr/bin/python3.6' then it is going to take the default one] | |
$ virtualenv -p /usr/bin/python3.6 scrape_env | |
5. using source to activate | |
$ source /home/work/python/scrape_env/bin/activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment