Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python example not working #235

Closed
varunyn opened this issue Jul 16, 2021 · 7 comments
Closed

Python example not working #235

varunyn opened this issue Jul 16, 2021 · 7 comments

Comments

@varunyn
Copy link

varunyn commented Jul 16, 2021

Throwing error for plaid_python==8.0.0b12

ERROR: Could not find a version that satisfies the requirement plaid_python==8.0.0b12 (from -r requirements.txt (line 2)) (from versions: 0.2.0, 0.2.1, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.3.0, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.5.0, 3.0.0, 3.1.0, 3.1.1, 3.2.0, 3.3.0, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 4.0.0, 4.1.0, 5.0.0, 6.0.0, 6.1.0, 7.0.0, 7.1.0, 7.2.0, 7.2.1, 7.3.0, 7.4.0, 8.0.0b1, 8.0.0b2, 8.0.0b3, 8.0.0b4)
ERROR: No matching distribution found for plaid_python==8.0.0b12 (from -r requirements.txt (line 2))
@cgfarmer4
Copy link
Contributor

@varunyn can you share more about your system? it seems like your python dependencies are not finding all the versions as we have released 8 versions post 8.0.0.b4. https://pypi.org/project/plaid-python/#history

@varunyn
Copy link
Author

varunyn commented Jul 16, 2021

My virtualenv was not set up correctly, was using python 2. It is resolved now. Thanks for the quick response. I am getting this error though when running the app.

Python 3.9.6
macOS: 11.2.3 (Big Sur)

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='sandbox.plaid.com', port=443): Max retries exceeded with url: /link/token/create (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))

@cgfarmer4
Copy link
Contributor

can you try python 3.7? 3.9 should work but lets rule that out if possible.

@varunyn
Copy link
Author

varunyn commented Jul 16, 2021

I tried with docker, it is using python:alpine, python 3.9.5. That works fine

@phoenixy1
Copy link
Contributor

@lindawoo-plaid I tried to reproduce this and I could not get the python quickstart to work following the non-docker instructions, I got the error

~/quickstart/python$ python3 server.py
Traceback (most recent call last):
  File "/Users/ahoffer/quickstart/python/server.py", line 2, in <module>
    from plaid.model.payment_amount import PaymentAmount
ModuleNotFoundError: No module named 'plaid'

Would you be willing to take a look?

@lindawoo-plaid
Copy link
Contributor

@phoenixy1 , "Payment" was changed to "PaymentAmount" in the client libraries. I think you are using an old version of quickstart? Have you downloaded recently?

@phoenixy1
Copy link
Contributor

This was resolved by updating the instructions around python2. My pip was configured to work with python2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants