15👍
Try using
python -m pip install django
This is the safest way as far as I know
5👍
I had the same problem, make sure you activated virtualenv, since once you close cmd it is no longer activated:
env\Scripts\activate
in cmd
Now cmd should have (env) just like this: (env) c:\users\user\PROJECT\..
Now you can type: python manage.py runserver
- [Django]-Django queryset "contains" for lists, not strings
- [Django]-Why aren't labels appearing in my Django ModelForm?
- [Django]-Datetime field in a DjangoModelFactory breaks integrated tests (2.1)
0👍
I also had the same problem when I use Pycharm. I solved it by adding:
import sys
sys.path.append('/Users/et/PycharmProjects/Jieba_Analyzer/venv/lib/python3.6/site-packages')
to manage.py
- [Django]-Can I have 2 Django sites using 2 different version of Python on 1 domain?
- [Django]-ImportError: No module named south
- [Django]-JSON Response from Django in Android
- [Django]-ModuleNotFoundError: No module named 'ebcli'
Source:stackexchange.com