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

Undelared dependency urllib3 #33

Closed
luandy64 opened this issue Jun 9, 2020 · 1 comment
Closed

Undelared dependency urllib3 #33

luandy64 opened this issue Jun 9, 2020 · 1 comment

Comments

@luandy64
Copy link

luandy64 commented Jun 9, 2020

I am doing some spiking for a project and was attempting to run the example code in the README.

Traceback (most recent call last):
  File "sync.py", line 1, in <module>
    from square.client import Client
  File "/usr/local/share/virtualenvs/tap-square/lib/python3.5/site-packages/square/client.py", line 4, in <module>
    from square.configuration import Configuration
  File "/usr/local/share/virtualenvs/tap-square/lib/python3.5/site-packages/square/configuration.py", line 4, in <module>
    from square.http.requests_client import RequestsClient
  File "/usr/local/share/virtualenvs/tap-square/lib/python3.5/site-packages/square/http/requests_client.py", line 6, in <module>
    from urllib3.util.retry import Retry
ImportError: No module named 'urllib3'

square seems to be happy if urllib3 1.25.9 is installed. Is this a good version to use or should something else be pinned in square-python-sdk/setup.py?

@jessdelacruzsantos
Copy link
Contributor

Hello @ luandy64. It turns out that urllib3 is a dependency of requests which our SDK depends on. Here is their setup.py. It seems you are encountering an issue installing dependencies.

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

2 participants