Dear helpers,
Answers to the various questions:
I removed 3.6 and installed 3.5 from scratch from https://www.python.org/downloads/windows/. by using the windows x86 executable installer. I change one option: the location where Python is to be installed.
My environment variables: PATH=C:\Program Files\Python 3.5\Scripts\;C:\Program Files\Python 3.5\;C:\Program Files\Python\Scripts\;C:\Program Files\Python\;C:\Program Files\Nmap
Now for completeness the erro message I am getting with the new install:
Answers to the various questions:
I removed 3.6 and installed 3.5 from scratch from https://www.python.org/downloads/windows/. by using the windows x86 executable installer. I change one option: the location where Python is to be installed.
My environment variables: PATH=C:\Program Files\Python 3.5\Scripts\;C:\Program Files\Python 3.5\;C:\Program Files\Python\Scripts\;C:\Program Files\Python\;C:\Program Files\Nmap
Now for completeness the erro message I am getting with the new install:
Error:>>> pip list
Traceback (most recent call last):
File "c:\program files\python 3.5\lib\site-packages\pip\_vendor\requests\packages\urllib3\connection.py", line 11, in <module>
from http.client import HTTPConnection as _HTTPConnection
File "c:\users\hmd\desktop\python\http.py", line 3, in <module>
import requests
ImportError: No module named 'requests'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files\python 3.5\lib\site-packages\pip\_vendor\requests\packages\__init__.py", line 27, in <module>
from . import urllib3
File "c:\program files\python 3.5\lib\site-packages\pip\_vendor\requests\packages\urllib3\__init__.py", line 8, in <module>
from .connectionpool import (
File "c:\program files\python 3.5\lib\site-packages\pip\_vendor\requests\packages\urllib3\connectionpool.py", line 35, in <module>
from .connection import (
File "c:\program files\python 3.5\lib\site-packages\pip\_vendor\requests\packages\urllib3\connection.py", line 14, in <module>
from httplib import HTTPConnection as _HTTPConnection
ImportError: No module named 'httplib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files\python 3.5\lib\runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "c:\program files\python 3.5\lib\runpy.py", line 133, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "c:\program files\python 3.5\lib\runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "c:\program files\python 3.5\lib\site-packages\pip\__init__.py", line 16, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "c:\program files\python 3.5\lib\site-packages\pip\vcs\mercurial.py", line 9, in <module>
from pip.download import path_to_url
File "c:\program files\python 3.5\lib\site-packages\pip\download.py", line 39, in <module>
from pip._vendor import requests, six
File "c:\program files\python 3.5\lib\site-packages\pip\_vendor\requests\__init__.py", line 58, in <module>
from . import utils
File "c:\program files\python 3.5\lib\site-packages\pip\_vendor\requests\utils.py", line 26, in <module>
from .compat import parse_http_list as _parse_list_header
File "c:\program files\python 3.5\lib\site-packages\pip\_vendor\requests\compat.py", line 7, in <module>
from .packages import chardet
File "c:\program files\python 3.5\lib\site-packages\pip\_vendor\requests\packages\__init__.py", line 29, in <module>
import urllib3
ImportError: No module named 'urllib3'
>>>