Installing local package with `pipenv install '-e .' --dev` no longer works.
See original GitHub issueThe feature described https://docs.pipenv.org/basics.html#editable-dependencies-e-g-e was broken in this commit https://github.com/kennethreitz/pipenv/commit/0a48fa090e2535041e5280511a6a2f1696de6797
In the most recent version of pipenv (8.3.1), pipenv install '-e .' --dev
fails with a TypeError from this line https://github.com/kennethreitz/pipenv/blob/v8.3.1/pipenv/utils.py#L540
Since ‘.’ is a directory and not a regular file, it fails the check on L539 os.path.isfile(req.path)
and the Requirements
object name is None when parsing this type of requirement which causes the exception to be raised.
Installing pipenv==8.2.7 resolved this issue for me.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Build and install local package with pip and pipenv
Pip and pipenv work quite the same. To be sure you understand, pip is the package manager of your global python interpreter.
Read more >Advanced Usage of Pipenv - Read the Docs
Pipenv allows you to open any Python module that is installed (including ones in your codebase), with the $ pipenv open command: $...
Read more >Basic Usage of Pipenv - Python Packaging Authority
$ pipenv install is used for installing packages into the pipenv virtual environment and updating your Pipfile. Along with the basic install command,...
Read more >30371 (Use pipenv to create venv for development) - Sage Trac
I have now added a minimal pipfile including sage as an editable install. So running pipenv install results in a semi-workable virtual environment....
Read more >Python Package Installation on Windows - ActiveState
For more information on how to use pip, see the Pip Package Installation instructions below. Wheels and Windows. Python packages installed with ...
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
quick workaround - add
"cjSj384E" = {path = ".", editable = true}
to your Pipfile manually wherecjSj384E
is the hash of path to the current directory. you can get this hash from checking the currently virtualenv namepipenv --venv
This is resolved in #958