2👍
This could possibly happen if we are not invoking the right version of PIP.
In case you have 2 versions of Python and you want to install over Python 3.4, you need to select pip3 from the absolute path, just in case if there is something else that could precede in the environment variables.
The simplest way is to select the right version of pip from the absolute path as below:
C:\Python34\Scripts>pip3 install django
0👍
Maybe command line “python manage.py runserver” can start it.I meet the same question,though I configured the PATH environment.
enter image description here
- [Answered ]-Where to check session in ClassView in django?
- [Answered ]-DisallowedHost at / even though ALLOWED_HOSTS are correct
- [Answered ]-Django is not displaying the image via /media/
- [Answered ]-ImproperlyConfigured url
- [Answered ]-How to show API description with django_rest_swagger 2.1.1
0👍
If you used window 10 for Django Framework then you can follow these steps maybe it helps for you
Pip install virtualenvwrapper-win
Mkvirtualenv test
Pip install django
Mkdir projects
Django-admin startproject project_name
Python manage.py runserver
I am very new in python and Django I follow the above steps for setup the env and startup the first project.
The above first command create the virtual Wrapper for you
and the second command will create the virtual env inside the Wrapper.
Then we have to install the django inside the venv.
These virtul env is not accessable to new command prompt.
Suppose next time when you want to work on the same venv you need to type
Workon test
In my case test is env name. so it will open you vevn.
May be it will help for you or who are new in python.
- [Answered ]-Deployment of django using nginx
- [Answered ]-How to get the Azure Webapp App Settings from Django