![]() ![]() We have found that installing the affected packages from source (by adding -no-binary our-package to the pip command line) acts as a workaround. It appears that when installing from wheel, the package version number is parsed using a regex that only matches PEP 440 compliant version numbers, which fails when given a version number containing a git hash. Raise InvalidVersion("Invalid version: ''".format(version)) Link, template, factory=self, name=name, version=version,įile "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 290, in _init_įile "/usr/local/lib/python3.6/site-packages/pip/_vendor/packaging/version.py", line 298, in _init_ Name, crit = self._merge_into_criterion(r, parent=None)įile "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _merge_into_criterionĬrit = om_requirement(self._p, requirement, parent)įile "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 82, in from_requirementįile "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/structs.py", line 124, in _bool_įile "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 96, in _bool_įile "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 20, in _deduplicated_by_versionįile "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 203, in iter_index_candidatesįile "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 145, in _make_candidate_from_link State = resolution.resolve(requirements, max_rounds=max_rounds)įile "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 310, in resolve Requirements, max_rounds=try_to_avoid_resolution_too_deep,įile "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 445, in resolve Reqs, check_supported_wheels=not options.target_dirįile "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 122, in resolve File "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 171, in _merge_into_criterionĭuring handling of the above exception, another exception occurred:įile "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 210, in _mainįile "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapperįile "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 319, in run
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |