https://prefect.io logo
Title
x

Xavier Babu

03/02/2022, 5:55 PM
I get the following error while running Prefect in Windows. ImportError: cannot import name 'ThreadedChildWatcher' from 'asyncio' (C:\Users\xbabu\Babu\anaconda3\envs\prefect-dev\lib\asyncio\__init__.py)
k

Kevin Kho

03/02/2022, 5:57 PM
Hi @Xavier Babu, I think this is a version mismatch. This is for Orion right? Does it work on another OS?
x

Xavier Babu

03/02/2022, 5:58 PM
Yes, it is for Orion. It works in my Linux Server. Only on Windows I get this error. How to resolve this issue?
k

Kevin Kho

03/02/2022, 5:59 PM
What are the asyncio versions for each? You can check with
pip show asyncio
x

Xavier Babu

03/02/2022, 5:59 PM
3.4.3
Do I need to use any older version of asyncio to make it work?
k

Kevin Kho

03/02/2022, 6:00 PM
I’m not sure. We can check the requirements one sec .What is the version on the working one?
there is no explicit version in the requirements.txt, but we could add one if it makes sense
a

Anna Geller

03/02/2022, 6:03 PM
We are aware of the issue and it may take time until Windows support gets added. For now, you can use WSL or run Orion on a VM
x

Xavier Babu

03/02/2022, 6:15 PM
what is WSL?
You mean Subsystem for Linux. Got it
👍 2
I heard we get official release of Prefect Orion in March. Do you know the date?
k

Kevin Kho

03/02/2022, 6:45 PM
I think end of march is when it goes off technical preview…but I don’t think that implies Windows support necessarily 😅
x

Xavier Babu

03/02/2022, 6:46 PM
not for Windows. Release date for Linux only.
👍 1