On Ubuntu Machine, use below steps.
- sudo -H pip install virtualenv
- Using pip and installing virtualenv (recommended) instead of global installation
- virtualenv -p python djangoTestEnv
- djangoTestEnv is sample name of virtual environment
- source djangoTestEnv/bin/activate
- Activating djangoTestEnv
- pip install django
- Installing django in djangoTestEnv
- pip freeze
- This is to check installed packages in that djangoTestEnv
- django-admin --version
- This is to check the version of django installed in djangoTestEnv
If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged
No comments:
Write comments