please give me a hand to solve this problem
Hi Guys,
I am building my first app with Django, and at the moment is something intersting happening.
What id it easy I will write you the snippet, and the result, please give me a hand to solve this problem
I am building my first app with Django, and at the moment is something intersting happening.
What id it easy I will write you the snippet, and the result, please give me a hand to solve this problem
mkdir -p ~/Documents/python/DjanBlogo && ~/Documents/python/DjanBlogo
sudo apt-get install python3-venv
python3 -m venv .venv
source .venv/bin/activate
(.venv) pip3 install Django
(.venv) django-admin startproject DjanBlogo
(.venv) touch requirements.txt
(.venv)python[3]? manage.py runserver
Traceback (most recent call last):
File "manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 14, in <module>
) from exc
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
No any search results
You already invited:
0 Answers