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

having errors when installing 'call pip install -r requirements.txt' #770

Open
sneekycee opened this issue Jan 9, 2025 · 1 comment
Open

Comments

@sneekycee
Copy link

ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\pkg_resources_init_.py", line 3367, in _dep_map
return self._dep_map
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\pkg_resources_init
.py", line 3147, 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\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\cli\base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\cli\base_command.py", line 96, in _inner_run
return self.run(options, args)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\cli\req_command.py", line 67, in wrapper
return func(self, options, args)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\commands\install.py", line 379, in run
requirement_set = resolver.resolve(
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 95, in resolve
result = self._result = resolver.resolve(
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 397, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria
if not criterion.candidates:
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\resolvelib\structs.py", line 156, in bool
return bool(self._sequence)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 174, in bool
return any(self)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 162, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 53, in _iter_built
candidate = func()
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 186, in _make_candidate_from_link
base: Optional[BaseCandidate] = self._make_base_candidate_from_link(
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 232, in _make_base_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 303, in init
super().init(
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 158, in init
self.dist = self._prepare()
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 247, in _prepare
self._check_metadata_consistency(dist)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 229, in _check_metadata_consistency
list(dist.iter_dependencies(list(dist.iter_provided_extras())))
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\metadata\pkg_resources.py", line 250, in iter_provided_extras
return self._extra_mapping.keys()
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_internal\metadata\pkg_resources.py", line 94, in _extra_mapping
canonicalize_name(extra): extra for extra in self.dist.extras
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\pkg_resources_init
.py", line 3323, in extras
return [dep for dep in self.dep_map if dep]
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\pkg_resources_init
.py", line 3369, in _dep_map
self.__dep_map = self.compute_dependencies()
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\pkg_resources_init
.py", line 3386, in compute_dependencies
common = types.MappingProxyType(dict.fromkeys(reqs_for_extra(None)))
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\pkg_resources_init
.py", line 3383, in reqs_for_extra
if not req.marker or req.marker.evaluate({'extra': extra}):
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\packaging\markers.py", line 325, in evaluate
return _evaluate_markers(self._markers, current_environment)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\packaging\markers.py", line 225, in _evaluate_markers
groups[-1].append(_eval_op(lhs_value, op, rhs_value))
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\packaging\markers.py", line 183, in _eval_op
return spec.contains(lhs, prereleases=True)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\packaging\specifiers.py", line 552, in contains
normalized_item = _coerce_version(item)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\packaging\specifiers.py", line 28, in _coerce_version
version = Version(version)
File "C:\Users\pc\miniconda3\envs\avatarify\lib\site-packages\pip_vendor\packaging\version.py", line 202, in init
raise InvalidVersion(f"Invalid version: '{version}'")
pip._vendor.packaging.version.InvalidVersion: Invalid version: 'cpython'

WhatsApp.Video.2025-01-09.at.19.39.40_7ce889b6.mp4
@Updatedme
Copy link

If you need further help, you can reach out to me on whataap +2347081306010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants