Hey Cowboys, I’m just getting started with Meltano...
# troubleshooting
f
Hey Cowboys, I’m just getting started with Meltano, But I got this error:
Copy code
➜ meltano add loader target-bigquery

Loader 'target-bigquery' could not be installed: failed to install plugin 'target-bigquery'.
  Running command git clone --filter=blob:none --quiet <https://github.com/adswerve/target-bigquery.git> /tmp/pip-req-build-e8hmwmyq
  Running command git checkout -q 29128d35d6ef719a36e2315f310e6e7f0b7c527e
ERROR: Ignored the following versions that require a different python version: 2.10.0 Requires-Python >=3.6, <3.10; 2.11.0 Requires-Python >=3.6, <3.10; 2.12.0 Requires-Python >=3.6, <3.10; 2.13.0 Requires-Python >=3.6, <3.10; 2.13.1 Requires-Python >=3.6, <3.10; 2.14.0 Requires-Python >=3.6, <3.10; 2.15.0 Requires-Python >=3.6, <3.10; 2.16.0 Requires-Python >=3.6, <3.10; 2.16.1 Requires-Python >=3.6, <3.10; 2.17.0 Requires-Python >=3.6, <3.10; 2.18.0 Requires-Python >=3.6, <3.10; 2.19.0 Requires-Python >=3.6, <3.10; 2.20.0 Requires-Python >=3.6, <3.10; 2.21.0 Requires-Python >=3.6, <3.10; 2.22.0 Requires-Python >=3.6, <3.10; 2.22.1 Requires-Python >=3.6, <3.10; 2.23.0 Requires-Python >=3.6, <3.10; 2.23.1 Requires-Python >=3.6, <3.10; 2.23.2 Requires-Python >=3.6, <3.10; 2.23.3 Requires-Python >=3.6, <3.10; 2.24.0 Requires-Python >=3.6, <3.10; 2.24.1 Requires-Python >=3.6, <3.10; 2.25.0 Requires-Python >=3.6, <3.10; 2.25.1 Requires-Python >=3.6, <3.10; 2.25.2 Requires-Python >=3.6, <3.10; 2.26.0 Requires-Python >=3.6, <3.10; 2.27.0 Requires-Python >=3.6, <3.10; 2.27.1 Requires-Python >=3.6, <3.10; 2.28.0 Requires-Python >=3.6, <3.10; 2.28.1 Requires-Python >=3.6, <3.10; 2.29.0 Requires-Python >=3.6, <3.10; 2.6.2 Requires-Python >=3.6, <3.9; 2.7.0 Requires-Python >=3.6, <3.10; 2.8.0 Requires-Python >=3.6, <3.10; 2.9.0 Requires-Python >=3.6, <3.10
ERROR: Could not find a version that satisfies the requirement google-cloud-bigquery==2.24.0 (from target-bigquery) (from versions: 0.20.0, 0.21.0, 0.22.0, 0.22.1, 0.23.0, 0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0, 0.29.0, 0.30.0, 0.31.0, 0.32.0, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.12.0, 1.12.1, 1.12.2, 1.13.0, 1.13.1, 1.14.0, 1.14.1, 1.15.0, 1.15.1, 1.16.0, 1.16.1, 1.17.0, 1.17.1, 1.18.0, 1.18.1, 1.19.0, 1.19.1, 1.20.0, 1.21.0, 1.22.0, 1.23.0, 1.23.1, 1.24.0, 1.25.0, 1.26.0, 1.26.1, 1.27.2, 1.28.0, 1.28.1, 1.28.2, 2.0.0, 2.1.0, 2.2.0, 2.3.1, 2.4.0, 2.5.0, 2.6.0, 2.6.1, 2.30.0, 2.30.1, 2.31.0, 2.32.0, 2.33.0, 2.34.0, 2.34.1, 2.34.2, 2.34.3, 2.34.4, 3.0.0b1, 3.0.0, 3.0.1, 3.1.0, 3.2.0, 3.3.0, 3.3.1, 3.3.2)
ERROR: No matching distribution found for google-cloud-bigquery==2.24.0
Failed to install plugin(s)
My Os is Ubuntu server 20.04 I search for it but I couldn’t find any solutions, do you have any idea?
v
What is your python version ?
f
My python version is
Copy code
Python 3.10.4
s
Hey Farshad, as far as I can tell, the target simply isn't compatible with Python 3.10, esp. because it has a pin on an old big query sdk (google-could-bigquery). Didn't check the others. So you can either downgrade your Python (Meltano 2.6.0 is also compatible with Python 3.9) or fork the repository and upgrade the dependencies (and submit a PR to help other people! :-)).
f
Hey Sun, thanks, I’ll test this solution, and if it works, I’ll submit a PR
t
Hi Farshad, Did you happen to figure out the solution to the above issue. I am facing the exact issue in Ubuntu. Would really appreciate if you could please advise on the steps you performed to resolve the issue?
f
Hey @trinath, Sorry, for the delayed response? I downgraded the version of python, this was the only way it worked!
t
No Problem, appreciate the response. I followed suit and seems like thats the only way around.