pipenv misses some dependencies during installs
See original GitHub issueHi guys. I believe there is a bug somewhere in pipenv
which is causing the behaviour highlighted here: fabric/fabric#1675.
In short, I had to manually specify a dependency of another dependency in my Pipenv
file because someone (pipenv? virtualenv? something else?) wasn’t able to see it and therefore import it while issuing CLI commands within the scope of a pipenv shell
session.
Anything you need me to do to help troubleshoot this please let me know. Thank you in advance.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to resolve Python package dependencies with pipenv?
You likely have a mismatch in your sub-dependencies. First try clearing your dependency cache with $ pipenv lock --clear, then try the original...
Read more >Common Pipenv Errors and How to Solve Them: Why Won't it ...
Be aware that the 'Installation Succeeded' alert is untrue; there is no Panadas to install. All that s occurred is the addition of...
Read more >Pipenv and S2I: A better way to manage Python ...
The Pipenv packaging tool and Source-to-Image (S2I) help keep the proper Python dependencies in containerized applications.
Read more >Release and Version History — pipenv 2022.12.20.dev0 ...
Fix for requirementslib hanging during install of remote wheels files. ... for certain dependencies with missing cache entries or fresh Pipenv installs.
Read more >pipenv Documentation
This tutorial walks you through installing and using Python packages. ... which could occur when locking VCS dependencies in some cases.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d put my money on another case of “wrong wheel used for dependencies resolving”, which is fixed in 8.2.7.
What likely happened is that a Py3.4+ wheel of
cryptography
was selected for listing the dependencies (even if the environment was Py2, that’s the bug), which didn’t listenum34
as a dependency (as its only needed for Py<3.4). Then, when installing,pipenv
strictly installed what was in Pipfile.lock (using the equivalent ofpip install --no-deps
), assuming the Pipfile.lock included all the right dependencies, which wasn’t the case due to the bug. This is howenum34
ended up missing in the environment, causing theImportError
.Could you update to
pipenv
8.2.7, lock with a cleared cache (pipenv lock --clear
), and confirm if its fixed?Closing this in favor of issue #909 😃