https://prefect.io logo
r

Rodrigo Martinez

06/29/2023, 4:57 AM
Hi everyone , I am starting to use prefect , I run it ok on Mac, I scheduled some flows with no error 😊 I need to run on windows and after installation when I import prefect module says : no module named resource . I read a lot on stack but I don’t know how to fix it . I am using windows 10. I understood that resource works only on Unix and is not compatible with windows so I don’t know how to solve it . Any suggestion ? Any help ? I am stack trying to find the solution ! Many thanks to everyone
1
p

Pim Claessens

06/29/2023, 7:20 AM
Try running prefect in docker (or something similar), than it should work across multiple environments without too much effort
upvote 2
j

Jeff Hale

06/29/2023, 12:21 PM
Hi Rodrigo. Sorry about the issue. In addition to Docker, WSL, is a good option. That said, people do run Prefect on native Windows OS regularly, so feel free to open a bug report issue with an MRE in the repo.
r

Rodrigo Martinez

06/29/2023, 2:14 PM
Many thanks. I will open the bug . In the meantime I suppose I have to deal with docker . Sorry for my English I am from uruguay - Latin America .
👍 2
🇺🇾 1
j

Jeff Hale

06/29/2023, 3:25 PM
Gracias! No es una problema. 🙂
r

Ryan Peden

06/29/2023, 4:20 PM
I had a PR that fixes this issue merged earlier this week so it will probably be fixed in the next Prefect release (today, maybe?) See here for details: https://github.com/PrefectHQ/prefect/pull/10059
Until the next release, in addition to using WSL or Docker you could also just install Prefect 2.10.16.
r

Ronald Sam

06/29/2023, 4:46 PM
I had a similar issue what version of python on you using?
I switched to python 3.9 and it worked for me, 3.11 it didn't work
r

Ryan Peden

06/29/2023, 4:49 PM
That might be a different issue; this one happens with Prefect 3.10.17 on Windows with any Python version.
r

Ronald Sam

06/29/2023, 4:50 PM
interesting okay, yeah might be a different issue with the same error message
r

Rodrigo Martinez

07/24/2023, 12:52 PM
Many thanks for the help to everyone !