faith_lierheimer
01/05/2023, 6:37 PMmeltano add extractor tap-nhl
the error i get is:
ERROR: Package 'tap-nhl' requires a different Python: 3.8.2 not in '<3.9,>=3.8.12'
python 3.8.2 is greater than 3.8.12, is it not? My suspicion is this is one of those weird situations i've run into before where there's a different error behind the error, because as far as i can tell, i do have the right python installed for this extractor.alexander_butler
01/05/2023, 6:40 PMvisch
01/05/2023, 6:41 PM3.8.16
is the lastest version of 3.8 that's out today so you should be on that if you're going to run 3.8! re https://www.python.org/downloads/alexander_butler
01/05/2023, 6:41 PMalexander_butler
01/05/2023, 6:42 PMMatt Menzenski
01/05/2023, 6:50 PMfaith_lierheimer
01/05/2023, 6:54 PMvisch
01/05/2023, 6:56 PMpython -m pipx install meltano
)
or https://gabnotes.org/how-use-pipx-pyenv/ , `
PIPX_DEFAULT_PYTHON
`is the key if you want to continue using pipx.
The thing that's hard is there's so many options for new folks its hard.
Another good solution if you want to avoid pipx
is to set
export PIP_REQUIRE_VIRTUALENV=true
so you have to set up a venv
everytime. There's tons of options here 🤷
if you use pyenv
and not pipx
I'd recommend using a venv
every time which is why I bring up this env varchristoph
01/05/2023, 8:51 PMFor managing multiple python versions easily (not to be confused with virtual environments despite the env in the name)Faith is on Windows, where
pyenv
is not needed, because Python on windows has py.exe
christoph
01/05/2023, 8:54 PMNote with pipx if you have issues, the easiest fix is to delete the directory those venvs are stored atTrying to fix
pipx
when working across multiple different Python versions will involve a bit more than that.
I jotted down my understanding of dealing with pipx
and meltano
across potentially multiple different Python installations here: https://meltano.slack.com/archives/C01TCRBBJD7/p1672810869216909?thread_ts=1672790262.255449&cid=C01TCRBBJD7alexander_butler
01/05/2023, 8:54 PMpython
)
EDIT: I am a noob therechristoph
01/05/2023, 8:54 PMalexander_butler
01/05/2023, 8:59 PMchristoph
01/05/2023, 9:02 PMcx_freeze
adds support for MSI and DMG compared to other alternatives ....