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

ImportError: No module named packages.urllib3.poolmanager #311

Open
cbun opened this issue Jun 4, 2015 · 1 comment
Open

ImportError: No module named packages.urllib3.poolmanager #311

cbun opened this issue Jun 4, 2015 · 1 comment

Comments

@cbun
Copy link
Contributor

cbun commented Jun 4, 2015

Have you guys run into this? Seems related to requests_toolkit.

Running on Ubuntu 14.04

$ ./arastd.py -c arast.conf
Traceback (most recent call last):
  File "./arastd.py", line 18, in <module>
    import router
  File "/mnt/arast/assembly/lib/assembly/router.py", line 29, in <module>
    import asmtypes
  File "/mnt/arast/assembly/lib/assembly/asmtypes.py", line 5, in <module>
    import client
  File "/mnt/arast/assembly/lib/assembly/client.py", line 19, in <module>
    from shock import Shock
  File "/mnt/arast/assembly/lib/assembly/shock.py", line 9, in <module>
    from requests_toolbelt import MultipartEncoder
  File "/usr/local/lib/python2.7/dist-packages/requests_toolbelt/__init__.py", line 12, in <module>
    from .adapters import SSLAdapter, SourceAddressAdapter
  File "/usr/local/lib/python2.7/dist-packages/requests_toolbelt/adapters/__init__.py", line 12, in <module>
    from .ssl import SSLAdapter
  File "/usr/local/lib/python2.7/dist-packages/requests_toolbelt/adapters/ssl.py", line 13, in <module>
    from requests.packages.urllib3.poolmanager import PoolManager
ImportError: No module named packages.urllib3.poolmanager

requests/toolbelt#82

@sigmavirus24
Copy link

You almost certainly installed requests with you distro's package manager. That's the root cause of this. They break requests' API and so libraries that build on top of requests (and that API) break.

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