plaid / quickstart

Get up and running with Plaid Link and the API in minutes
https://plaid.com/docs/quickstart
MIT License
602 stars 644 forks source link

Can't start python quickstart: TypeError: __init__() takes at least 5 arguments (5 given) #159

Closed phoenixy1 closed 4 years ago

phoenixy1 commented 4 years ago

Possibly I am doing something wrong, but the python quickstart is not working for me. I freshly cloned it and then tried the following:

~/quickstart/python$ pip install -r requirements.txt Ignoring wsgiref: markers 'python_version < "3.2"' don't match your environment Requirement already satisfied: Flask>=0.12.3 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (1.1.2) Requirement already satisfied: Jinja2>=2.9.5 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.11.2) Requirement already satisfied: MarkupSafe==0.23 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (0.23) Requirement already satisfied: Werkzeug>=0.14 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (1.0.1) Requirement already satisfied: click==6.7 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (6.7) Requirement already satisfied: itsdangerous==0.24 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (0.24) Requirement already satisfied: requests==2.20.0 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r requirements.txt (line 7)) (2.20.0) Requirement already satisfied: plaid-python<6.0.0,>=5.0.0 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r requirements.txt (line 9)) (5.0.0) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from requests==2.20.0->-r requirements.txt (line 7)) (1.24.3) Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from requests==2.20.0->-r requirements.txt (line 7)) (2019.11.28) Requirement already satisfied: idna<2.8,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from requests==2.20.0->-r requirements.txt (line 7)) (2.7) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from requests==2.20.0->-r requirements.txt (line 7)) (3.0.4) WARNING: You are using pip version 20.1.1; however, version 20.2.4 is available. You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -m pip install --upgrade pip' command. ~/quickstart/python$ PLAID_CLIENT_ID='CENSORED' PLAID_SECRET='CENSORED' PLAID_ENV='sandbox' PLAID_PRODUCTS='auth,transactions' python server.py Traceback (most recent call last): File "server.py", line 52, in api_version='2019-05-29') TypeError: init() takes at least 5 arguments (5 given) ~/quickstart/python$

phoenixy1 commented 4 years ago

never mind, this is a python / python 3 issue