holzschu / holzschu/Carnets

Wget module install failed

Open
#74 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
634
Forks
44
PR merge metrics
No merged PRs in 30d

Description

!pip install wget
Collecting wget
Downloading https://files.pythonhosted.org/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip
Installing collected packages: wget
ERROR: Error checking for conflicts.
Traceback (most recent call last):
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3012, in _dep_map
Running setup.py install for wget ... done
Successfully installed wget-3.2
return self.__dep_map
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/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 "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3003, in _parsed_pkg_info
return self._pkg_info
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/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 "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 524, in _warn_about_conflicts
package_set, _dep_info = check_install_conflicts(to_install)
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 108, in check_install_conflicts
package_set, _ = create_package_set_from_installed()
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 47, in create_package_set_from_installed
package_set[name] = PackageDetails(dist.version, dist.requires())
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2727, in requires
dm = self._dep_map
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3014, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/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 "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3005, in _parsed_pkg_info
metadata = self.get_metadata(self.PKG_INFO)
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1419, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/var/mobile/Containers/Data/Application/CF02358E-FDAA-4467-9797-196F7182DCB1/Library/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1607, in _get

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `!pip install wget` in the Python 3.7 Carnets environment and inspect the reported pip/pkg_resources conflict-check traceback. Determine whether installation actually fails or only emits an error after succeeding; done means the command completes without the traceback and the installed module remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.