[stage-0 8/10] RUN chmod u+x release.sh && ./release.sh:
#12 1.649 ModuleNotFoundError: No module named 'django'
#12 1.649
#12 1.649 The above exception was the direct cause of the following exception:
#12 1.649
#12 1.649 Traceback (most recent call last):
#12 1.649 File "manage.py", line 22, in <module>
#12 1.649 main()
#12 1.649 File "manage.py", line 13, in main
#12 1.649 raise ImportError(
#12 1.649 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?
#django keeps failing it say
19 messages · Page 1 of 1 (latest)
Project ID: a9f8ba80-6038-4c04-9e6e-c1f0a11b0d98
a9f8ba80-6038-4c04-9e6e-c1f0a11b0d98
send me your Procfile please
release: chmod u+x release.sh && ./release.sh
web: daphne rel8.asgi:application --port $PORT --bind 0.0.0.0 -v2
one is to runcommand and the other is to run asgi server
using daphne
change it all to just
web: chmod u+x release.sh && ./release.sh && daphne rel8.asgi:application --port $PORT --bind 0.0.0.0 -v2
okau
okay
hey man it worked but what if my procfile is like this below
release: chmod u+x release.sh && ./release.sh
web: gunicorn app.wsgi:application
@coral dome
it won't work like that at the moment, see this github issue for more information
https://github.com/railwayapp/nixpacks/issues/872
this is a temp fix
thanks man! you did well for me later
glad I could help