Reputation: 473
I have gotten a django project from a colleague. After looking up how one should run it on their on computer, it seems I need to find a text file called "requirements.txt". However, I don't have this one in the folder that I've downloaded.
I tried running both commands
python manage.py runserver
but I get the following error:
OSError: [WinError 123] The filename, directory name, or volume label syntax is
incorrect: '<frozen importlib._bootstrap>'
running migrate before running runserver also doesn't help. It results into the following error:
ModuleNotFoundError: No module named 'django_extensions'
Can a downloaded django project be run without the requirements.txt file?
Upvotes: 0
Views: 510
Reputation: 91
try to ask your colleague to initiate an environment using pipenv(pipenv shell) after you install (pipenv) package with pip.that's going to create (Pipfile) --> which can be converted to requirements.txt or the other way around. I highly recommend you to start using pipenv to handle your environment, it's absolutely a blessing.
Upvotes: 0