Answer the question
In order to leave comments, you need to log in
Heroku swears at the library, what should I do?
I push the bot to Heroku, everything is fine, I upload it to the server, I turn it on
but the bot does not work, I go to the Heroku script logs, and I see that it cannot find the library pyowm.utils.config
, but this is not a separate library, it is itself pyown
, which I do in this case?
UPD:
I tried it heroku run pip install pyowm --app=название
later
heroku run pip install pyowm==2.10.0 --app=название
(the error said that there is no such version 3.1.1 , and offered a couple of options, the last one turned out to be 2.10.0). from pyowm.utils.config import get_default_config
ModuleNotFoundError: No module named 'pyowm.utils.config'
Answer the question
In order to leave comments, you need to log in
pyown is not a default package, it must first be installed on the server (Heroku)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question