-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
I am using pipenv 2025.0.2 and I have a Pipfile with just 2 dependencies:
- paramiko
- snowflake-sqlalchemy
and a python_version specification of 3.10
and pipenv cannot resolve them. The error message doesn't give me enough information to know which sub-dependency is the issue:
Loading .env environment variables...
Creating a virtualenv for this project
Pipfile: /Users/shawncastrianni/GIT/greenstreet_utils/Pipfile
Using /opt/homebrew/bin/python3.103.10.17 to create virtualenv...
⠹ Creating virtual environment...created virtual environment CPython3.10.17.final.0-64 in 185ms
creator CPython3macOsBrew(dest=/Users/shawncastrianni/.local/share/virtualenvs/greenstreet_utils-Y7In6KPJ, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/shawncastrianni/Library/Application
Support/virtualenv)
added seed packages: pip==25.2, setuptools==80.9.0, wheel==0.45.1
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
✔ Successfully created virtual environment!
Virtualenv location: /Users/shawncastrianni/.local/share/virtualenvs/greenstreet_utils-Y7In6KPJ
Pipfile.lock (e8eaf74a97db7e3842dd7f2aec0dfdf13bcdb71e0b3cd81742a59f60cc899698) out of date: run `pipenv lock` to update to
(2cc744fb3c440174912a9cb38ca38293cb07f4302fe4ade610a96684bf7acec2)...
Locking dependencies...
Building requirements...
Resolving dependencies...
✘ Locking Failed!
⠇ Locking packages...ERROR:pip.subprocessor:pip subprocess to install build dependencies exited with 1
[ResolutionFailure]: File "/opt/homebrew/Cellar/pipenv/2025.0.2/libexec/lib/python3.13/site-packages/pipenv/resolver.py", line 451, in main
[ResolutionFailure]: _main(
[ResolutionFailure]: File "/opt/homebrew/Cellar/pipenv/2025.0.2/libexec/lib/python3.13/site-packages/pipenv/resolver.py", line 436, in _main
[ResolutionFailure]: resolve_packages(
[ResolutionFailure]: File "/opt/homebrew/Cellar/pipenv/2025.0.2/libexec/lib/python3.13/site-packages/pipenv/resolver.py", line 400, in resolve_packages
[ResolutionFailure]: results, resolver = resolve_deps(
[ResolutionFailure]: File "/opt/homebrew/Cellar/pipenv/2025.0.2/libexec/lib/python3.13/site-packages/pipenv/utils/resolver.py", line 979, in resolve_deps
[ResolutionFailure]: results, hashes, internal_resolver = actually_resolve_deps(
[ResolutionFailure]: File "/opt/homebrew/Cellar/pipenv/2025.0.2/libexec/lib/python3.13/site-packages/pipenv/utils/resolver.py", line 747, in
actually_resolve_deps
[ResolutionFailure]: resolver.resolve()
[ResolutionFailure]: File "/opt/homebrew/Cellar/pipenv/2025.0.2/libexec/lib/python3.13/site-packages/pipenv/utils/resolver.py", line 474, in resolve
[ResolutionFailure]: raise ResolutionFailure(message=e)
Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv run pip install <requirement_name> to bypass this mechanism, then run $ pipenv graph to inspect the versions actually installed in the
virtualenv.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: pip subprocess to install build dependencies exited with 1
Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv run pip install <requirement_name> to bypass this mechanism, then run $ pipenv graph to inspect the versions actually installed in the
virtualenv.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: Failed to lock Pipfile.lock!
Metadata
Metadata
Assignees
Labels
No labels