Virtual Environment for Python

If you want to make an experiment or just trying some python script from internet, better you use virtual environment or use jupyter notebook

Install virtual env

sudo apt-get install python-virtualenv

create virtual env

virtualenv -p /usr/bin/python3 Workspace/env

start virtual env

source Workspace/env/bin/activate

running the script inside virtual env


stop virtual env




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
ade sueb

ade sueb

Still believe, can change the world with code..