Looking to get started with Prefect in a Conda env...
# introductions
d
Looking to get started with Prefect in a Conda env on Windows 10. I encountered errors attempting to Orion so I decided to go forward with Prefect.
👋 9
k
Hi Darren, yes Orion has no Windows support for now
a
Welcome to the community, @Darren Burton! 👋
d
Thanks Anna.
@Kevin Kho how about installing Orion in a Conda environment on Ubuntu 20? I am jus starting to learn Prefect and trying to decide if I should start with Orion or Core?
k
I think that should work. If you need something production ready in the next month then Core would be suggested
a
Ubuntu 20 should work well because it ships with Python 3.8.10 out of the box so it should be compatible with Orion without having to install Python separately. I think you could do:
Copy code
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install software-properties-common -y
sudo apt-get install python3-dateutil -y
sudo apt install python3-pip -y


PATH="$HOME/.local/bin:$PATH"
export PATH

# python3 is installed by default with version 3.8.10
pip3 install -U "prefect>=2.0a"
d
Thank you. I hope to find some time to try this today and let you know.
👍 1
The install seems to have completed successfully. It just about some module version that are incompatible.
however the command perfect version throws errors due to some of those dependencies so I will need to resolve them.
Copy code
sudo pip install --upgrade protobuf
fixed the problem
👍 2