Broken `pipenv install -e .`?
See original GitHub issueHi @kennethreitz!
Thank you for the nice project! 😉 I’ve stumbled upon this issue today:
Operating system:
resurtm@resurtm-desktop:~$ screenfetch
_,met$$$$$gg. resurtm@resurtm-desktop
,g$$$$$$$$$$$$$$$P. OS: Debian 9.1 stretch
,g$$P"" """Y$$.". Kernel: x86_64 Linux 4.9.0-4-amd64
,$$P' `$$$. Uptime: 2h 47m
',$$P ,ggs. `$$b: Packages: 2430
`d$$' ,$P"' . $$$ Shell: bash 4.4.12
$$P d$' , $$P Resolution: 1920x1200
$$: $$. - ,d$$' DE: XFCE
$$\; Y$b._ _,d$P' WM: Xfwm4
Y$$. `.`"Y$$$$P"' WM Theme: Default
`$$b "-.__ GTK Theme: Adwaita [GTK2]
`Y$$ Icon Theme: Tango
`Y$$. Font: Sans 10
`$$b. CPU: Intel Core i5 CPU 760 @ 2.801GHz
`Y$$b. GPU: GeForce GT 640/PCIe/SSE2
`"Y$b._ RAM: 5115MiB / 16041MiB
`""""
Python and pipenv versions:
(message_wiper_ng-UjpHa307) resurtm@resurtm-desktop:~/dev/message_wiper_ng$ python -V
Python 3.5.3
(message_wiper_ng-UjpHa307) resurtm@resurtm-desktop:~/dev/message_wiper_ng$ pipenv --version
pipenv, version 8.3.2
What I’m trying to do and what I’m getting:
resurtm@resurtm-desktop:~/dev/message_wiper_ng$ pipenv --three
Creating a virtualenv for this project…
Using /usr/bin/python3 to create virtualenv…
⠋Running virtualenv with interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/resurtm/.local/share/virtualenvs/message_wiper_ng-UjpHa307/bin/python3
Also creating executable in /home/resurtm/.local/share/virtualenvs/message_wiper_ng-UjpHa307/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
Virtualenv location: /home/resurtm/.local/share/virtualenvs/message_wiper_ng-UjpHa307
resurtm@resurtm-desktop:~/dev/message_wiper_ng$ pipenv shell
Spawning environment shell (/bin/bash). Use 'exit' to leave.
source /home/resurtm/.local/share/virtualenvs/message_wiper_ng-UjpHa307/bin/activate
resurtm@resurtm-desktop:~/dev/message_wiper_ng$ source /home/resurtm/.local/share/virtualenvs/message_wiper_ng-UjpHa307/bin/activate
(message_wiper_ng-UjpHa307) resurtm@resurtm-desktop:~/dev/message_wiper_ng$ pipenv install
Installing dependencies from Pipfile.lock (74f424)…
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 4/4 — 00:00:03
(message_wiper_ng-UjpHa307) resurtm@resurtm-desktop:~/dev/message_wiper_ng$ pipenv install -e .
Installing -e .…
Traceback (most recent call last):
File "/usr/local/bin/pipenv", line 11, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/pipenv/cli.py", line 1880, in install
converted = convert_deps_from_pip(package_name)
File "/usr/local/lib/python3.5/dist-packages/pipenv/utils.py", line 547, in convert_deps_from_pip
os.path.isfile(req.name)) and not req.vcs:
File "/usr/lib/python3.5/genericpath.py", line 30, in isfile
st = os.stat(path)
TypeError: stat: can't specify None for path argument
My setup.py
file:
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='message_wiper_ng',
version='0.0.1',
description='MessageWiperNG',
long_description=readme(),
url='https://github.com/resurtm/message_wiper_ng',
download_url='https://github.com/resurtm/message_wiper_ng/archive/v0.0.1.tar.gz',
author='resurtm',
author_email='resurtm@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
packages=['message_wiper_ng'],
include_package_data=True,
zip_safe=False,
install_requires=[
'telethon',
],
)
Let me know if you need some more details on this. Please also tell me if I’m doing something wrong. Thanks!
Cheers, @resurtm
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
'pipenv install <package>' fails on fresh python3.10 installation
After installing the Python 3.9.12 (don't forget to tick the "Add Python to PATH" checkbox), the problem will be resolved.
Read more >pipenv Changelog - pyup.io
- Pipenv can now install relative file paths. - Better messaging around failed installs. - More resilient network io when retrieving data from...
Read more >pipenv Documentation - 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 >Frequently Encountered Pipenv Problems - Read the Docs
This is usually a result of mixing Pipenv with system packages. We strongly recommend installing Pipenv in an isolated environment. Uninstall all existing ......
Read more >Advanced Usage of Pipenv - Python Packaging Authority
pipenv install --pypi-mirror <mirror_url> $ pipenv update --pypi-mirror ... Installing -e git+https://github.com/kennethreitz/background.git#egg=background.
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
@kennethreitz because its only 9 hours old
why wasn’t this closed when this was fixed?