By SnekGuy
Hey all! Have gotten past some previous issues, and managed to upload the project through Git. Now when I want to testrun the server using gunicorn, like cd into the project folder and run python manage.py runserver as usual, I get the error:
File “manage.py”, line 7, in <module> from mezzanine.utils.conf import real_project_name ModuleNotFoundError: No module named ‘mezzanine’
So it’s my understanding when i run fab all, or the individual sequences like fab install and create, that it should automatically create a venv with packages according to the requirements.txt
The requirements.txt is up to date, and has mezzanine listed in it.
I’m running on windows 7, but doubt that has any meaning at this point when the resources are pushed onto the droplet, and I can clearly see through FTP that Python is installed in the .virtualenvs folder, but none of the other necessary resources.
I tried running “pip install mezzanine” while having the virtual env activated through SSH, but can’t see where it installed it, definitely not the virtualenv’s lib folder.
How can I properly get all the necessary packages (mezzanine) up to the droplet? Thanks for reading.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I got it working, and mezzanine with all dependencies got installed. It seems it is an empty mezzanine project install however, as now it asks me to fill in a lot of settings which I added to local_settings locally.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.