r/PyScript • • May 21 '22
Having trouble using pyowm in pyscript
<py-env>
- pyowm
</py-env>
works fine but when I import pyowm in a py-script tag i get following error
because of the ModuleNotFoundError: No module named 'pkg_resources' i thought maybe i just had to add pkg_resources in py-env. Doing that will just get me stuck on this screen

p.s. this is my first time using py-script, importing numpy worked and this is my current setup
4
Upvotes
View all comments
Show parent comment
1
u/TheSwami May 30 '22
Personally I like Visual Studio Code - there’s a couple plugins that make working with PyScript easier that this write-up describes pretty well.