I'm new to Meltano and getting started with my fir...
# troubleshooting
c
I'm new to Meltano and getting started with my first project. I successfully installed
tap-csv
and now I'm trying to install
tap-rest-api-msdk
. Originally, I was using Python 3.9.10 and got the following error after running `meltano add extractor tap-rest-api-msdk`:
Copy code
>  meltano add extractor tap-rest-api-msdk
2022-07-16T13:18:49.991587Z [info     ] Environment 'dev' is active
Extractor 'tap-rest-api-msdk' already exists in your Meltano project
To add it to your project another time so that each can be configured differently,
add a new plugin inheriting from the existing one with its own unique name:
        meltano add extractor tap-rest-api-msdk--new --inherit-from tap-rest-api-msdk

Installing extractor 'tap-rest-api-msdk'...
Extractor 'tap-rest-api-msdk' could not be installed: failed to install plugin 'tap-rest-api-msdk'.
ERROR: Ignored the following versions that require a different python version: 0.0.3 Requires-Python >=3.6.1,<=3.9.7; 0.0.4 Requires-Python >=3.6.1,<=3.9.7; 0.0.5 Requires-Python >=3.6.2,<3.10; 0.0.6 Requires-Python >=3.6.2,<3.10; 1.0.0 Requires-Python >=3.6.2,<3.10
ERROR: Could not find a version that satisfies the requirement tap-rest-api-msdk (from versions: none)
ERROR: No matching distribution found for tap-rest-api-msdk
I installed Python 3.9.7, then created and activated a virtual environment using 3.9.7. When I ran the
meltano add
command again, I got the same error. Is there something else I should be doing?
e
Ok so it looks like you shouldn’t have problems installing
1.0.0
in Python < 3.10, so it may be that Meltano is actually installed in a 3.6.0 or earlier Python? Another thing is to try a clean plugin install:
meltano install --clean
c
Hi @edgar_ramirez_mondragon - When I installed Meltano initially, the only version of Python on the machine was 3.10. I only installed 3.9.7 when I saw the error with
tap-rest-api-msdk
. I did try the
--clean
install, but I got the same errors in my initial post. Given your comment about the version of Python that Meltano is installed in, I'm going to see if I can cleanly remove Meltano, then start over and force it to use Python 3.9.7 instead of 3.10.
Yes! That did it, and it was quite easy with the breadcrumb you left. Here's what I did:
pipx uninstall meltano
pipx install meltano --python C:\Users\chris\AppData\Local\Programs\Python\Python39\python.exe
meltano install --clean
e
Awesome!