-
Notifications
You must be signed in to change notification settings - Fork 922
Closed
Description
Expected behaviour
My Pipfile is here:
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
opencv-python = "*"
[dev-packages]
[requires]
python_version = "3.10"
If I run pipenv shell
, I successfully create a virtual env. When I then run pipenv install
I expect that pipenv will create a Pipfile.lock and install opencv-python alongside all dependencies.
Actual behaviour
Running pipenv install --verbose
generates:
:~/tester_dir$ pipenv install --verbose
Pipfile.lock not found, creating...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
Reporter.starting()
INFO:pipenv.patched.pip._internal.resolution.resolvelib.reporter:Reporter.starting()
Reporter.adding_requirement(SpecifierRequirement('opencv-python'), None)
INFO:pipenv.patched.pip._internal.resolution.resolvelib.reporter:Reporter.adding_requirement(SpecifierRequirement('opencv-python'), None)
✘ Locking Failed!
with a failure to install
Steps to reproduce
Pipfile above is shown, using python3.10 installed with:
sudo apt-get -y install python3.10 python3.10-distutils python3.10-dev
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.10 get-pip.py && rm get-pip.py
As of yesterday (10/11/2022), this was not failing. Starting today, it began failing to build. All other packages that were being installed continue to function.
Using a pip install opencv-python
works correctly if I am outside of pipenv, so there seems to be some issue specifically between opencv-python
and pipenv
that started in the last 24 hours.
Metadata
Metadata
Assignees
Labels
No labels