Im stuck. I cant install dependencies for the Pyth...
# ask-community-for-troubleshooting
m
Im stuck. I cant install dependencies for the Python CDK (https://docs.airbyte.io/connector-development/tutorials/cdk-tutorial-python-http/2-install-dependencies). I get an error:
Copy code
virt_env) martin@MacBook-Pro source-provet % pip install -r requirements.txt
Obtaining file:///Users/martin/Repositories/airbyte/airbyte-integrations/bases/source-acceptance-test (from -r requirements.txt (line 1))
Obtaining file:///Users/martin/Repositories/airbyte/airbyte-integrations/connectors/source-provet (from -r requirements.txt (line 2))
Collecting airbyte-cdk~=0.1 (from source-acceptance-test==0.0.0->-r requirements.txt (line 1))
  Could not find a version that satisfies the requirement airbyte-cdk~=0.1 (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (from versions: )
No matching distribution found for airbyte-cdk~=0.1 (from source-acceptance-test==0.0.0->-r requirements.txt (line 1))
I have upgraded Airbyte from 0.16 to 0.29 and deleted all images and volumes. Generated a brand new connecter from the Python REST API Source. I am using Visual Studio Code and running the pip install command in a terminal inside VS Code. I have not touched the requirements.txt file after generating the connector.
1
d
Hi, can you make sure you are on the right language versions as specified here? The important one should be Python 3.7
m
Thanks, version 3.7.1 in my venv. Am I missing some files from the git repo maybe?
👍 1
Just did a git pull and I got some files but not related I think
👍 1
Stuff from survey-monkey source
Im on a mac and I have to type python3 in order to get 3.7.1. Just typing python --version gets me the defaul 2.7
d
that might be it
m
Is it pip3 install??
d
let's give that a shot
❤️ 1
it should be able to find the
airbyte-cdk
dependency here: https://pypi.org/project/airbyte-cdk/#history
m
Thanks now I was able to install the dependencies. I had to run python3 -m pip install …
👍 1
n
@Carlos