Hi everyone , I am starting to use prefect , I run...
# prefect-getting-started
r
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
Try running prefect in docker (or something similar), than it should work across multiple environments without too much effort
upvote 2
j
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
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
Gracias! No es una problema. 🙂
r
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
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
That might be a different issue; this one happens with Prefect 3.10.17 on Windows with any Python version.
r
interesting okay, yeah might be a different issue with the same error message
r
Many thanks for the help to everyone !