Z
Z
zahar_12342020-12-22 14:48:22
Codeception
zahar_1234, 2020-12-22 14:48:22

When I enter a program in Conemu, the code says an error: the pyowm module does not exist, how can I fix this?

My code:
import pyowm

owm = pyowm.OWM('f2d25f2cc858d22eaee57c666d7528a9')

place = input("Enter city/country: ")

observation = owm.get_weather_at_place(place)
w = observation.get_weather
print(w)
Error:
Traceback (most recent call last):
File "C:\Python\Weather from Boris.py", line 1, in
import pyowm
ModuleNotFoundError: No module named 'pyowm'
Addendum:
pip install pyowm injected into ConEmu

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question