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

Generate SHA-1 and SHA-256 for Debug and Release android app

How to Import and Export MySQL Database Command line in Linux

Hosting to Heroku and Amazon S3 Service