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

Pip Conflict Error - Conda and ib_insync #9431

Closed
JSunRae opened this issue Jan 5, 2021 · 1 comment
Closed

Pip Conflict Error - Conda and ib_insync #9431

JSunRae opened this issue Jan 5, 2021 · 1 comment

Comments

@JSunRae
Copy link

JSunRae commented Jan 5, 2021

  • pip version: 20.2.3
  • Python version: 3.7.9
  • Operating system: Windows 10

`(env1) C:\Users\Jason>pip install ib_insync
Collecting ib_insync
Downloading ib_insync-0.9.64-py3-none-any.whl (70 kB)
|████████████████████████████████| 70 kB 2.2 MB/s
Collecting nest-asyncio
Downloading nest_asyncio-1.4.3-py3-none-any.whl (5.3 kB)
Collecting eventkit
Downloading eventkit-0.8.6-py3-none-any.whl (31 kB)
Requirement already satisfied: numpy in c:\users\jason\miniconda3\envs\env1\lib\site-packages (from eventkit->ib_insync) (1.19.1)
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 "C:\Users\Jason\miniconda3\envs\env1\lib\site-packages\pip_vendor\pkg_resources_init_.py", line 3021, in _dep_map
return self._dep_map
File "C:\Users\Jason\miniconda3\envs\env1\lib\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 "C:\Users\Jason\miniconda3\envs\env1\lib\site-packages\pip_vendor\pkg_resources_init_.py", line 3012, in _parsed_pkg_info
return self.pkg_info
File "C:\Users\Jason\miniconda3\envs\env1\lib\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 "C:\Users\Jason\miniconda3\envs\env1\lib\site-packages\pip_internal\commands\install.py", line 520, in determine_conflicts
return check_install_conflicts(to_install)
File "C:\Users\Jason\miniconda3\envs\env1\lib\site-packages\pip_internal\operations\check.py", line 108, in check_install_conflicts
package_set, _ = create_package_set_from_installed()
File "C:\Users\Jason\miniconda3\envs\env1\lib\site-packages\pip_internal\operations\check.py", line 50, in create_package_set_from_installed
package_set[name] = PackageDetails(dist.version, dist.requires())
File "C:\Users\Jason\miniconda3\envs\env1\lib\site-packages\pip_vendor\pkg_resources_init
.py", line 2736, in requires
dm = self.dep_map
File "C:\Users\Jason\miniconda3\envs\env1\lib\site-packages\pip_vendor\pkg_resources_init
.py", line 3023, in _dep_map
self.__dep_map = self.compute_dependencies()
File "C:\Users\Jason\miniconda3\envs\env1\lib\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 "C:\Users\Jason\miniconda3\envs\env1\lib\site-packages\pip_vendor\pkg_resources_init
.py", line 3014, in parsed_pkg_info
metadata = self.get_metadata(self.PKG_INFO)
File "C:\Users\Jason\miniconda3\envs\env1\lib\site-packages\pip_vendor\pkg_resources_init
.py", line 1420, in get_metadata
value = self.get(path)
File "C:\Users\Jason\miniconda3\envs\env1\lib\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: 'c:\users\jason\miniconda3\envs\env1\lib\site-packages\beautifulsoup4-4.9.1.dist-info\METADATA'
Installing collected packages: nest-asyncio, eventkit, ib-insync
Successfully installed eventkit-0.8.6 ib-insync-0.9.64 nest-asyncio-1.4.3

(env1) C:\Users\Jason>`

@uranusjr
Copy link
Member

uranusjr commented Jan 5, 2021

pip 20.3 no longer produces this error. Also see #8676 (comment)

@uranusjr uranusjr closed this as completed Jan 5, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants