hi everyone! I am using windows without dockers an...
# ask-community
a
hi everyone! I am using windows without dockers and have seen problems scheduling flows and submitting tasks ... are there any known problems with running prefect 3.x on windows?
b
Hi Aviad! You definitely can use Prefect on Windows without docker. What issues are you running into?
a
thanks! 1. I;ve had problems with the scheduler where code that works well on linux fails on windows - with some error regarding pydantic
State
from prefect code. I'll paste in the github issue i opened for it in the thread
2. there' a task submission that works well on linux (that has some state related to AWS s3 handling) that works well on linux but the same task on windows complains about SSLContext not being serializable. I need to create some minimal example that shows this
3. when debugging a worker I want to be able to debug the flows the worker generates (i.e. the subprocesses it creates). on linux it works well but on windows the subprocesses are not caught (tried on both pycharm and vscode)
b
Thank you! Hmm i'll have to test out the debugger issue on my PC. As for the
PydanticUserError
error, I've seen that mentioned before in another thread. There are suggestions there for troubleshooting. Can you give them a try?
prefect rocket 1
TLDR; you may need to adjust the order of your
imports
in the code
a
thanks! I'll take a look on the import order suggestion. also FYI @Oz Shaked
regarding the problem we had with task submission I'll create and share a minimal example.
upvote 1
gratitude thank you 1
if you guys can find a solution to the debugger problem that would be amazing
@Bianca Hoch did you manage to debug running a prefect flow running in a subprocess on windows with pycharm?