-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
I have Windows 7 & Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32
When I run pip on VirtualEnv , here's what I get:
$ pip
Traceback (most recent call last):
File "c:\users\user\python\work\test\lib\site-packages\pip\_vendor\requests\packages\__init__.py", line 27, in <module>
from . import urllib3
File "c:\users\user\python\work\test\lib\site-packages\pip\_vendor\requests\packages\urllib3\__init__.py", line 8, in <module>
from .connectionpool import (
File "c:\users\user\python\work\test\lib\site-packages\pip\_vendor\requests\packages\urllib3\connectionpool.py", line 7, in <module>
from socket import error as SocketError, timeout as SocketTimeout
File "C:\Python36\lib\socket.py", line 49, in <module>
import _socket
ModuleNotFoundError: No module named '_socket'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\user\python\work\test\Scripts\pip.exe\__main__.py", line 5, in <module>
File "c:\users\user\python\work\test\lib\site-packages\pip\__init__.py", line 21, in <module>
from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning
File "c:\users\user\python\work\test\lib\site-packages\pip\_vendor\requests\__init__.py", line 62, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "c:\users\user\python\work\test\lib\site-packages\pip\_vendor\requests\packages\__init__.py", line 29, in <module>
import urllib3
ModuleNotFoundError: No module named 'urllib3'
But globally pip work 👍
Metadata
Metadata
Assignees
Labels
No labels