i am doing python -m pip install --upgrade pip

Collecting pip Using cached https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 19.0.3 Uninstalling pip-19.0.3: Successfully uninstalled pip-19.0.3 Rolling back uninstall of pip Exception: Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\basecommand.py", line 211, in main status = self.run(options, args) File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\commands\install.py", line 311, in run root=options.root_path, File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\req\req_set.py", line 646, in install **kwargs File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\req\req_install.py", line 803, in install self.move_wheel_files(self.source_dir, root=root) File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\req\req_install.py", line 998, in move_wheel_files isolated=self.isolated, File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\wheel.py", line 449, in move_wheel_files generated.extend(maker.make(spec)) File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip_vendor\distlib\scripts.py", line 353, in make self._make_script(entry, filenames, options=options) File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip_vendor\distlib\scripts.py", line 257, in _make_script self._write_script(scriptnames, shebang, script, filenames, ext) File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip_vendor\distlib\scripts.py", line 193, in _write_script launcher = self._get_launcher('t') File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip_vendor\distlib\scripts.py", line 332, in _get_launcher result = finder(distlib_package).find(name).bytes File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pip_vendor\distlib\resources.py", line 324, in finder raise DistlibException('Unable to locate finder for %r' % package) pip._vendor.distlib.DistlibException: Unable to locate finder for 'pip._vendor.distlib'

please help me with this exception

0 Answers