How to create virtual environment in python

 python3.9 -m venv myenv

Notes: Here specifying python 3.9 version

source myenv/bin/activate

pip install package_name

Django Run: python3.9 manage.py runserver 0.0.0.0:8000

deactivate



Comments

Popular posts from this blog

Protect VPS from Disk space Eater

Live engine important stuffs

Hosting to Heroku and Amazon S3 Service