WearBullish
How to save or access plt svg in volume using Django?
my repo is actually in private because I have not figure out how to not expose my django secret key, my railway postgresql keys and email backend (im currently using my extra gmail since I'm rushing to deploy my website. So if you want I can make you a collaborator
11 replies
Deployment Failed during build process
Hello sorry for the late reply, I already fixed my problem above by updating all the packages in my requirements.txt but now I got this one:
Traceback (most recent call last):
File "/app/manage.py", line 22, in <module>
main()
File "/app/manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/opt/venv/lib/python3.10/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/opt/venv/lib/python3.10/site-packages/django/core/management/init.py", line 416, in execute
django.setup()
File "/opt/venv/lib/python3.10/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/opt/venv/lib/python3.10/site-packages/django/apps/registry.py", line 124, in populate
app_config.ready()
File "/app/healthcenter/apps.py", line 10, in ready
from healthcenter.scheduler import start
File "/app/healthcenter/scheduler.py", line 10, in <module>
from doctor.views import reschedule
File "/app/doctor/views.py", line 4, in <module>
from turtle import title
File "/root/.nix-profile/lib/python3.10/turtle.py", line 107, in <module>
import tkinter as TK
File "/root/.nix-profile/lib/python3.10/tkinter/init.py", line 37, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
I cannot find a package for tkinter since it's a python package, what to do to fix this?
10 replies