i'm building a crm and every time I run t"python manage.py makemigrations
python manage.py migrate" or try to run the server. i keep getting these "ModuleNotFoundError: No module named". then i'd install it and then run it again and another one comes up. I used a.i to help me find the modules i need and so far i have like 264 modules and it keeps still saying more is missing. it seems like its non stop, is thier any way i can download all of them at one time?
#Building a CRM and i keep getting this error code. "ModuleNotFoundError: No module named.. "
5 messages · Page 1 of 1 (latest)
Give some example of the missing modules
I feel like this is more of a "bad python environment setup" situation
I recommend you use requirement.txt files alongside virtual environments. With that said you still have to manually install the packages you need. I think any other option is going to be buggy. Try looking at the installed apps setting in settings.py. most of the main modules should be there. The rest should be their dependencies which pip will handle.
I do feel that sometimes too, i did the tree -L 2 and showed it to chatgpt and it helped me restructure my project. hoping that would get rid of some confusion as i had duplicate files and was placing code in the wrong files as well.