Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got an error while running pip install #9062

Closed
astro313 opened this issue Oct 27, 2020 · 1 comment
Closed

Got an error while running pip install #9062

astro313 opened this issue Oct 27, 2020 · 1 comment
Labels
resolution: duplicate Duplicate of an existing issue/PR

Comments

@astro313
Copy link

  • pip version: pip 20.2.3
  • Python version: 3.6.12
  • Operating system: Mac OSX catalina 10.15.7
ERROR: Error while checking for conflicts. Please file an issue on pip's issue tracker: https://github.com/pypa/pip/issues/new
Traceback (most recent call last):
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3021, in _dep_map
    return self.__dep_map
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__
    raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3012, in _parsed_pkg_info
    return self._pkg_info
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__
    raise AttributeError(attr)
AttributeError: _pkg_info

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 520, in _determine_conflicts
    return check_install_conflicts(to_install)
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_internal/operations/check.py", line 108, in check_install_conflicts
    package_set, _ = create_package_set_from_installed()
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_internal/operations/check.py", line 50, in create_package_set_from_installed
    package_set[name] = PackageDetails(dist.version, dist.requires())
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2736, in requires
    dm = self._dep_map
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3023, in _dep_map
    self.__dep_map = self._compute_dependencies()
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3032, in _compute_dependencies
    for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3014, in _parsed_pkg_info
    metadata = self.get_metadata(self.PKG_INFO)
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1420, in get_metadata
    value = self._get(path)
  File "/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1616, in _get
    with open(path, 'rb') as stream:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/Daisy.Leung/anaconda3/envs/ds-user-models/lib/python3.6/site-packages/googleapis_common_protos-1.52.0.dist-info/METADATA'

@uranusjr
Copy link
Member

#8676

@uranusjr uranusjr added the resolution: duplicate Duplicate of an existing issue/PR label Oct 27, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: duplicate Duplicate of an existing issue/PR
Projects
None yet
Development

No branches or pull requests

2 participants