Hi unable to install prefect Orion . I am getti...
# prefect-community
v
Hi unable to install prefect Orion . I am getting ImportError: cannot import name 'ThreadedChildWatcher' from 'asyncio'
a
Can you share more how you installed the package? You can try to reinstall using:
Copy code
pip uninstall prefect
pip install -U "prefect>=2.0a9"
This way, you should get the latest version
v
yes i did . Package has been installed. unable to check version and when i try to run the code i am getting the I am getting ImportError: cannot import name 'ThreadedChildWatcher' from 'asyncio
a
what if you try installing it on WSL? I haven’t tested that on Windows yet. Also, you may try in a virtual environment with a lower Python version e.g. 3.8
ok, just tested on both 3.8 and 3.9 and both work fine in a conda environment. I see that you are using Pycharm. Can you try adding a new Conda interpreter and install Orion from scratch there?
v
Once installation completed
Not working
pip install prefect
Above command working properly
But i want higher verison of prefect
a
Did you run it in a conda virtual environment? If Conda doesn’t work for you, I would recommend installing in WSL “pip install prefect” will install Prefect <= 1.0 rather than Orion (Prefect>=2.0)
v
yes . i have installed conda only
a
v
facing same issues
can you suggest some other tool ?
a
I would recommend trying WSL - Windows Subsystem for Linux. Have you tried that?
v
No .i dont have idea about that
a
v
can you confirm prefect>=2.0a9 is not supported for direct windows?
i have installed jupiter notebook and tried and getting same error
a
I can only confirm that we currently don’t run any tests on Windows and haven’t optimized the package for Windows yet. Therefore, for now I would recommend installing in WSL. Alternatively - since it seems you don’t wanna try the WSL option 🙂 - you can try using Docker:
Copy code
docker pull prefecthq/prefect:2.0a9-python3.9
v
ok
a
but I can confirm this error - just tried to reproduce on a windows tablet and got the same error
v
okay okay
i will try in linux
👍 1