pip install --upgrade pip
pip freeze
pip install <library-name>
for ex:
pip install flask
pip install Flask-RESTful
- this will install flask as well
pip show <library-name
for ex:
pip show vaex
-
pip install virtualenv
- this will install virtualvm -
this will create a folder named
venv
and keeppython 3.5
inside itvirtualenv venv --python=python3.5
(Linux)./venv/Scripts/activate.bat
(Windows)
-
source venv/bin/activate
- this will activate the venv -
python --version
- verify Python's version in the venv