My django project is missing a lot of defaults and installed packages are not working
When I make my django app there is typically a default sqlite3 that comes with it but for some reason it does not show up so I created a database in the MySQL workbench and then in my settings.py I made sure to add the relevant info.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'nameofDB',
'USER': 'root',
'PASSWORD': 'mypassword',
'HOST': 'localhost',
'PORT': '3306',
}
}
In my virtual environment 'env' after activating it I made sure to install everything django, django-admin, pip. The name of my project is 'studybud' and the directory is:
C:\Users\User\Desktop\studybud
After making my project, I worked on it for a little and checked how the html was rendered so it was activted and I ran the server but after I left it alone for a while my powershell froze so i simply exited out of everything. Not sure if this affects my current problem. I tried opening my project again but now I get this error:
in my virtual environment i did make sure to install mysqlclient before creating the mysql database but as you see its installed in a completely different directory which is the global one. although i would have thought the python packages i have in my global path would make it work though clearly the error says module for mysqlclient not found.
I literally followed every step of a tutorial and for some reason it still does not work and I dont know why.
