start virtual environment python linux
source env/bin/activate
create virtualenv in linux python
#Creating virtual environment in Linux
$ sudo apt-get install python-pip
#Then install virtualenv
$ pip install virtualenv
#Now check your installation
$ virtualenv --version
#Create a virtual environment now,
$ virtualenv virtualenv_name
#After this command, a folder named virtualenv_name will be created. You can name anything to it. If you want to create a virtualenv for specific python version, type
$ virtualenv -p /usr/bin/python3 virtualenv_name
or
$ virtualenv -p /usr/bin/python2.7 virtualenv_name
#Now at last we just need to activate it, using command
$ source virtualenv_name/bin/activate
#Now you are in a Python virtual environment
#You can deactivate using
$ deactivate
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us