Advertisement
Guest User

Untitled

a guest
Nov 12th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.18 KB | None | 0 0
  1. Python 3.6.3 (default, Oct 24 2017, 14:48:20)
  2. [GCC 7.2.0] on linux
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> import requests
  5. Traceback (most recent call last):
  6.   File "<stdin>", line 1, in <module>
  7.   File "/usr/lib/python3.6/site-packages/requests/__init__.py", line 43, in <module>
  8.     import urllib3
  9.   File "/usr/lib/python3.6/site-packages/urllib3/__init__.py", line 8, in <module>
  10.     from .connectionpool import (
  11.   File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 3, in <module>
  12.     import logging
  13.   File "/usr/lib/python3.6/logging/__init__.py", line 28, in <module>
  14.     from string import Template
  15. ImportError: cannot import name 'Template'
  16. >>> import urllib3
  17. Traceback (most recent call last):
  18.   File "<stdin>", line 1, in <module>
  19.   File "/usr/lib/python3.6/site-packages/urllib3/__init__.py", line 8, in <module>
  20.     from .connectionpool import (
  21.   File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 3, in <module>
  22.     import logging
  23.   File "/usr/lib/python3.6/logging/__init__.py", line 28, in <module>
  24.     from string import Template
  25. ImportError: cannot import name 'Template'
  26. >>> import urllib3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement