Skip to content

Instantly share code, notes, and snippets.

@Strykar
Created June 28, 2019 12:14
Show Gist options
  • Save Strykar/fb5873af78c0af483c7ffad9f5f03984 to your computer and use it in GitHub Desktop.
Save Strykar/fb5873af78c0af483c7ffad9f5f03984 to your computer and use it in GitHub Desktop.
strykar@phreedom:~$ pip install --upgrade prompt_toolkit
Collecting prompt_toolkit
Using cached https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl
Requirement already satisfied, skipping upgrade: wcwidth in ./.local/lib/python3.6/site-packages (from prompt_toolkit) (0.1.7)
Requirement already satisfied, skipping upgrade: six>=1.9.0 in /usr/local/lib/python3.6/site-packages (from prompt_toolkit) (1.12.0)
ERROR: Error checking for conflicts.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3012, in _dep_map
return self.__dep_map
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2806, in __getattr__
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3003, in _parsed_pkg_info
return self._pkg_info
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2806, in __getattr__
raise AttributeError(attr)
AttributeError: _pkg_info
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 524, in _warn_about_conflicts
package_set, _dep_info = check_install_conflicts(to_install)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/check.py", line 108, in check_install_conflicts
package_set, _ = create_package_set_from_installed()
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/check.py", line 47, in create_package_set_from_installed
package_set[name] = PackageDetails(dist.version, dist.requires())
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2727, in requires
dm = self._dep_map
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3014, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3023, in _compute_dependencies
for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3005, in _parsed_pkg_info
metadata = self.get_metadata(self.PKG_INFO)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1419, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1607, in _get
with open(path, 'rb') as stream:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/home/strykar/.local/lib/python3.6/site-packages/prompt_toolkit-1.0.15.dist-info/METADATA'
Installing collected packages: prompt-toolkit
Found existing installation: prompt-toolkit 1.0.15
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/usr/home/strykar/.local/lib/python3.6/site-packages/prompt_toolkit-1.0.15.dist-info/RECORD'
strykar@phreedom:~$ pip3 install --upgrade prompt_toolkit
Collecting prompt_toolkit
Using cached https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl
Requirement already satisfied, skipping upgrade: six>=1.9.0 in /usr/local/lib/python3.6/site-packages (from prompt_toolkit) (1.12.0)
Requirement already satisfied, skipping upgrade: wcwidth in ./.local/lib/python3.6/site-packages (from prompt_toolkit) (0.1.7)
ERROR: Error checking for conflicts.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3012, in _dep_map
return self.__dep_map
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2806, in __getattr__
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3003, in _parsed_pkg_info
return self._pkg_info
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2806, in __getattr__
raise AttributeError(attr)
AttributeError: _pkg_info
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 524, in _warn_about_conflicts
package_set, _dep_info = check_install_conflicts(to_install)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/check.py", line 108, in check_install_conflicts
package_set, _ = create_package_set_from_installed()
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/check.py", line 47, in create_package_set_from_installed
package_set[name] = PackageDetails(dist.version, dist.requires())
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2727, in requires
dm = self._dep_map
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3014, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3023, in _compute_dependencies
for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3005, in _parsed_pkg_info
metadata = self.get_metadata(self.PKG_INFO)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1419, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1607, in _get
with open(path, 'rb') as stream:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/home/strykar/.local/lib/python3.6/site-packages/prompt_toolkit-1.0.15.dist-info/METADATA'
Installing collected packages: prompt-toolkit
Found existing installation: prompt-toolkit 1.0.15
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/usr/home/strykar/.local/lib/python3.6/site-packages/prompt_toolkit-1.0.15.dist-info/RECORD'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment