April 2018
Beginner to intermediate
440 pages
11h 36m
English
If you don't want to use Anaconda, virtualenv needs to be installed first. Use the following command to install it locally:
>> pip install virtualenv
Next, a virtual environment can be created by assigning with the virtualenv command followed by the name of the new environment, for example:
>> virtualenv python3packt
Navigate to the directory with the same name:
>> cd python3packt
Next, activate the virtual environment with the activate command:
>> activate
Your virtual environment is now ready for use. Use pip install to install packages exclusively to this environment and use them in your code. Use the deactivate command to stop the virtual environment from working:
>> deactivate
If you have multiple ...