What is the best python version for meltano? I jus...
# troubleshooting
s
What is the best python version for meltano? I just bumped to ubuntu 22.04, which installed python 3.10.4 on my machine. I don't think meltano has a relese yet for 3.10.4, so now I'm bounding around different python versions to see what stitcks
My current error: ModuleNotFoundError: No module named '_bz2'
v
s
Thanks! Ever gotten the _bz2 error? It has me kinda stumped
v
Did you read that link?
s
Yeah I'm currently using python 3.8.8 with pyenv
v
I'd use the latest 3.8 version. Beyond that you're going to have to share what's going on. I use 3.8.x and everything works.
pipx install meltano
,
meltano --vesrion
all works 🙂
Smells like you're install python from source?
s
Well 3.8.8 didnt work, but 3.8.10 does
So I guess latest 3.8.x version was the good call 😉 thank you so much for the help @visch
v
latest version of 3.8 is 3.8.13 fyi https://www.python.org/downloads/
s
Yeah, I just got a fear of things TOO new with my install of ubuntu 22.04 😛
v
You have to look at each program individually unforotnantely. Normally semver is a good rule of thumb. For python specifically, when you jump minor versions 3.8.* -> 3.9 -> 3.10 they are potentially breaking changes. For meltano just stick with the python versions meltano supports, but you should always stick to the latest
patch
version of that
minor
release as there's a bunch of security releases and non breaking changes that are very good. So for 3.8 you should be on the latest version of 3.8, in this case
3.8.13
s
Awesome, thank you so much
As always, you are a treasure trove of information 😉
c
3.10 works just fine for me btw. (3.10 has been out for over 6 months by now and some rolling distros had it as default since initial release). It really depends on your taps and targets though.