New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipenv install -e .
fails with “stat: can't specify None for path argument”
#1037
Comments
This is a know issue related to several others which I dont have time to link, but you can work around it for your use case by enclosing in single quotes: |
I have the same issue with |
@motet-a er sorry,. I responded before I had my coffee this morning. You can't
It is on our to-do list to improve the error messaging on this. ~ mkdir /tmp/test
~ cd /tmp/test
/t/test pip install -e .
Directory '.' is not installable. File 'setup.py' not found. |
Thanks! |
janusz@hagrid 🐍 django-opt-out-dRWm0dFI /d/w/w/django-opt-out >ls setup.*
setup.cfg setup.py*
janusz@hagrid 🐍 django-opt-out-dRWm0dFI /d/w/w/django-opt-out >pipenv install -e .
Installing -e .…
Traceback (most recent call last):
File "/home/janusz/.local/bin/pipenv", line 11, in <module>
sys.exit(cli())
File "/data/janusz/.local/venvs/pipenv/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/data/janusz/.local/venvs/pipenv/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/data/janusz/.local/venvs/pipenv/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/data/janusz/.local/venvs/pipenv/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/data/janusz/.local/venvs/pipenv/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/janusz/.local/venvs/pipenv/lib/python3.5/site-packages/pipenv/cli.py", line 1869, in install
converted = convert_deps_from_pip(package_name)
File "/home/janusz/.local/venvs/pipenv/lib/python3.5/site-packages/pipenv/utils.py", line 540, in convert_deps_from_pip
os.path.isfile(req.name)) and not req.vcs:
File "/home/janusz/.local/venvs/pipenv/lib/python3.5/genericpath.py", line 30, in isfile
st = os.stat(path)
TypeError: stat: can't specify None for path argument Any suggestions? |
This happens when I run
pipenv install -e .
in an empty directory:Environment
The text was updated successfully, but these errors were encountered: