I have a small installation problem.
Prefect requires Python 3.7+ and that's installed on our AWS Linux machines.
Problem is, the default Python associated with the 'python' command is Python2.
If you try to make Python3 the default incredibly you end up breaking YUM which relies on Python2.
What's the best way to solve this problem?
In short I need prefect to rely on Python 3 without altering the rest of my machines.
I am no Python expert as you have probably guessed 🙂
thanks a lot. I think I will be OK with VENV. All I need is to have the Prefect Agent run using Python 3 without making Python 3 the default version of Python for the whole system as that breaks YUM (I was really surprised to see that happening)
2 months ago
I recommend provisioning a VM with Ubuntu 20.04 LTS to avoid any headaches - this comes prepackaged with Python 3.8 so you don't have to fight with multiple Python versions. We also run our unit tests on the same Ubuntu version