Skip to content

Error installing pact-python in Python 3.12 virtual environment: Invalid version string #1275

@varun-prakash

Description

@varun-prakash

When I run pip install pact-python in a virtual environment using Python 3.12, I encounter the following error:

...\pip\_vendor\packaging\version.py", line 202, in __init__
    raise InvalidVersion(f"Invalid version: {version!r}")
pip._vendor.packaging.version.InvalidVersion: Invalid version: ''

I've already tried creating a new virtual environment and updating pip, but the issue still persists.

Metadata

Metadata

Assignees

Labels

area:coreRelating to the core Pact Python libraryarea:v2Relating to v2 codedifficulty:mediumA moderate task requiring a good understanding of the codebasepriority:1-criticalMust be addressed immediatelytype:bugSomething isn't working

Type

No type

Projects

Status

✅ Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions