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

deactivate

--

--

--

Still believe, can change the world with code..

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Managing Watson Assistant responses part 2 (slots_

Cache is king — A primer on caching

Announcing Version 1.0 of macos_ui!

Sharing Power BI reports with authenticated users through our web application

Add Bootstrap CSS in WordPress Plugin page

2018 in retrospect: A Year of New Ventures and Enhanced Customer Satisfaction

Creating REST Service and REST Connector — Implementing HelloWorld Service REST GET Method

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..

More from Medium

Install Miniconda (Conda) and Python

What are Environment Variables?

Sending iMessages with Python on a Mac

Parameterized and Default Constructor