-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tkinter error on Heroku #26
Comments
I have the same probrem, how can I use matplotlib in Heroku? |
1 similar comment
I have the same probrem, how can I use matplotlib in Heroku? |
It works for me by doing this - import matplotlib
matplotlib.use('Agg') |
I have the same probrem, how can I use matplotlib in Heroku? this solution not work : |
link to my heroku website (Requirements in requirements.txt) - https://github.com/rudrathegreat/Water-Quality-Checking-System-Web-Application In Data/views.py, the following lines have been used - import matplotlib
matplotlib.use('Agg') |
its work again by saving chart in sub directory : fg='static/chart/'+str(share)[:-3]+'.png' |
cool |
If deploy Visualisation.py to Heroku uncommented, then
import seaborn
,import matplotlib.pyplot as plt
each cause error:ImportError: No module named _tkinter
.Adding to Aptfile the following does not make any difference to error:
Importing the following extras in Visualisation.py does not make any difference to the error:
The text was updated successfully, but these errors were encountered: