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

Error while checking for conflicts #9236

Closed
Ascensiony opened this issue Dec 7, 2020 · 1 comment
Closed

Error while checking for conflicts #9236

Ascensiony opened this issue Dec 7, 2020 · 1 comment
Labels
resolution: duplicate Duplicate of an existing issue/PR

Comments

@Ascensiony
Copy link

Hey,

Every time I try to install a package from pip it gives me the following Traceback:

Example Package

pip install jupyter-kite

Traceback

Collecting jupyter-kite
  Downloading jupyter-kite-1.2.0.tar.gz (30 kB)
Requirement already satisfied: notebook>=4.3.1 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from jupyter-kite) (6.1.3)
Requirement already satisfied: tornado>=5.1.0 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from jupyter-kite) (6.0.4)
Requirement already satisfied: setuptools in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from jupyter-kite) (49.6.0.post20200814)
Requirement already satisfied: terminado>=0.8.3 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (0.8.3)
Requirement already satisfied: Send2Trash in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (1.5.0)
Requirement already satisfied: jupyter-core>=4.6.1 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (4.6.3)
Requirement already satisfied: traitlets>=4.2.1 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (4.3.3)
Requirement already satisfied: jupyter-client>=5.3.4 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (6.1.6)
Requirement already satisfied: prometheus-client in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (0.8.0)
Requirement already satisfied: ipykernel in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (5.3.4)
Requirement already satisfied: ipython-genutils in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (0.2.0)
Requirement already satisfied: pyzmq>=17 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (19.0.2)
Requirement already satisfied: jinja2 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (2.11.2)
Requirement already satisfied: nbformat in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (5.0.7)
Requirement already satisfied: argon2-cffi in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (20.1.0)
Requirement already satisfied: nbconvert in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from notebook>=4.3.1->jupyter-kite) (5.6.1)
Requirement already satisfied: ptyprocess; os_name != "nt" in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from terminado>=0.8.3->notebook>=4.3.1->jupyter-kite) (0.6.0)
Requirement already satisfied: decorator in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from traitlets>=4.2.1->notebook>=4.3.1->jupyter-kite) (4.4.2)
Requirement already satisfied: six in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from traitlets>=4.2.1->notebook>=4.3.1->jupyter-kite) (1.15.0)
Requirement already satisfied: python-dateutil>=2.1 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from jupyter-client>=5.3.4->notebook>=4.3.1->jupyter-kite) (2.8.1)
Requirement already satisfied: appnope; platform_system == "Darwin" in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from ipykernel->notebook>=4.3.1->jupyter-kite) (0.1.0)
Requirement already satisfied: ipython>=5.0.0 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from ipykernel->notebook>=4.3.1->jupyter-kite) (7.17.0)
Requirement already satisfied: MarkupSafe>=0.23 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from jinja2->notebook>=4.3.1->jupyter-kite) (1.1.1)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from nbformat->notebook>=4.3.1->jupyter-kite) (3.2.0)
Requirement already satisfied: cffi>=1.0.0 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from argon2-cffi->notebook>=4.3.1->jupyter-kite) (1.14.2)
Requirement already satisfied: pandocfilters>=1.4.1 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from nbconvert->notebook>=4.3.1->jupyter-kite) (1.4.2)
Requirement already satisfied: bleach in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from nbconvert->notebook>=4.3.1->jupyter-kite) (3.1.5)
Requirement already satisfied: entrypoints>=0.2.2 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from nbconvert->notebook>=4.3.1->jupyter-kite) (0.3)
Requirement already satisfied: defusedxml in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from nbconvert->notebook>=4.3.1->jupyter-kite) (0.6.0)
Requirement already satisfied: testpath in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from nbconvert->notebook>=4.3.1->jupyter-kite) (0.4.4)
Requirement already satisfied: mistune<2,>=0.8.1 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from nbconvert->notebook>=4.3.1->jupyter-kite) (0.8.4)
Requirement already satisfied: pygments in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from nbconvert->notebook>=4.3.1->jupyter-kite) (2.6.1)
Requirement already satisfied: pexpect; sys_platform != "win32" in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyter-kite) (4.8.0)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyter-kite) (3.0.6)
Requirement already satisfied: pickleshare in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyter-kite) (0.7.5)
Requirement already satisfied: jedi>=0.10 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyter-kite) (0.17.2)
Requirement already satisfied: backcall in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyter-kite) (0.2.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat->notebook>=4.3.1->jupyter-kite) (0.16.0)
Requirement already satisfied: importlib-metadata; python_version < "3.8" in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat->notebook>=4.3.1->jupyter-kite) (1.7.0)
Requirement already satisfied: attrs>=17.4.0 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat->notebook>=4.3.1->jupyter-kite) (20.3.0)
Requirement already satisfied: pycparser in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from cffi>=1.0.0->argon2-cffi->notebook>=4.3.1->jupyter-kite) (2.20)
Requirement already satisfied: webencodings in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from bleach->nbconvert->notebook>=4.3.1->jupyter-kite) (0.5.1)
Requirement already satisfied: packaging in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from bleach->nbconvert->notebook>=4.3.1->jupyter-kite) (20.4)
Requirement already satisfied: wcwidth in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyter-kite) (0.2.5)
Requirement already satisfied: parso<0.8.0,>=0.7.0 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from jedi>=0.10->ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyter-kite) (0.7.1)
Requirement already satisfied: zipp>=0.5 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->jsonschema!=2.5.0,>=2.4->nbformat->notebook>=4.3.1->jupyter-kite) (3.1.0)
Requirement already satisfied: pyparsing>=2.0.2 in /opt/anaconda3/envs/fastai/lib/python3.7/site-packages (from packaging->bleach->nbconvert->notebook>=4.3.1->jupyter-kite) (2.4.7)
Building wheels for collected packages: jupyter-kite
  Building wheel for jupyter-kite (setup.py) ... done
  Created wheel for jupyter-kite: filename=jupyter_kite-1.2.0-py3-none-any.whl size=43027 sha256=fc165395784d22ee9dee7835d1a21efc81d7ab2f1e1f95ecedb356e3087c2f28
  Stored in directory: /Users/roughrider404/Library/Caches/pip/wheels/eb/13/20/609dbbc2f0a5353bbe6e1167bb1dec5664f0fd8048422496c8
Successfully built jupyter-kite
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 "/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3021, in _dep_map
    return self.__dep_map
  File "/opt/anaconda3/envs/fastai/lib/python3.7/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 "/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3012, in _parsed_pkg_info
    return self._pkg_info
  File "/opt/anaconda3/envs/fastai/lib/python3.7/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 "/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 535, in _determine_conflicts
    return check_install_conflicts(to_install)
  File "/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 108, in check_install_conflicts
    package_set, _ = create_package_set_from_installed()
  File "/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 50, in create_package_set_from_installed
    package_set[name] = PackageDetails(dist.version, dist.requires())
  File "/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2736, in requires
    dm = self._dep_map
  File "/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3023, in _dep_map
    self.__dep_map = self._compute_dependencies()
  File "/opt/anaconda3/envs/fastai/lib/python3.7/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 "/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3014, in _parsed_pkg_info
    metadata = self.get_metadata(self.PKG_INFO)
  File "/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1420, in get_metadata
    value = self._get(path)
  File "/opt/anaconda3/envs/fastai/lib/python3.7/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: '/opt/anaconda3/envs/fastai/lib/python3.7/site-packages/numpy-1.19.1.dist-info/METADATA'
Installing collected packages: jupyter-kite
Successfully installed jupyter-kite-1.2.0
  • pip version: pip 20.2.2 from /opt/anaconda3/envs/fastai/lib/python3.7/site-packages/pip (python 3.7)
  • Python version: 3.7.7
  • Operating system: macOS Big Sur
@uranusjr
Copy link
Member

uranusjr commented Dec 7, 2020

Kindly refer to #8676 (comment). Please also give it a thumbs up if it solves your problem! It would help people after you find the solution.

@uranusjr uranusjr closed this as completed Dec 7, 2020
@uranusjr uranusjr added the resolution: duplicate Duplicate of an existing issue/PR label Dec 7, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 6, 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