Skip to content

pipenv update created too many subprocess until crash #3832

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

Closed
yixblog opened this issue Jul 10, 2019 · 6 comments
Closed

pipenv update created too many subprocess until crash #3832

yixblog opened this issue Jul 10, 2019 · 6 comments

Comments

@yixblog
Copy link

yixblog commented Jul 10, 2019

I installed new python3.7.4 amd64 into Windows 10 Home OS

And installed pipenv by pip install pipenv

But when I was initializing my python projects with pipenv update command (pipenv install also tried). The command screen shows creating virtualenv and keeping creating huge number of sub process until the system got out of memory or just crashed.

pipenv
As this image shows, the number of subprocess is increasing very fast until took down all CPU and Memory resources but did nothing. I cannot even init a new project. I don't know if there were any mistake.

@yixblog
Copy link
Author

yixblog commented Jul 10, 2019

And the previous mistake in the image is caused by command: pipenv --py

@akittas
Copy link

akittas commented Jul 10, 2019

The problem is probably related to this virtualenv issue. For the moment the solution is to downgrade to Python 3.7.3, as it happens only with 3.7.4.

@frostming frostming added the Status: Awaiting Upstream This issue requires the attention of an upstream maintainer. label Jul 10, 2019
@yixblog
Copy link
Author

yixblog commented Jul 10, 2019

The problem is probably related to this virtualenv issue. For the moment the solution is to downgrade to Python 3.7.3, as it happens only with 3.7.4.

solved! thanks a lot! This troubles me the entire afternoon

@frostming
Copy link
Contributor

Pin this issue for any newcomers who encountered this problem.

@frostming frostming removed the Status: Awaiting Upstream This issue requires the attention of an upstream maintainer. label Jul 15, 2019
@frostming
Copy link
Contributor

The fix should be released via https://pypi.org/project/virtualenv/16.6.2/, upgrade virtualenv to >=16.6.2 should fix this problem.

@loo41
Copy link

loo41 commented Oct 30, 2019

sorry, i try downgrade to 3.7.3 @akittas

Failed creating virtual environment
[pipenv.exceptions.VirtualenvCreationException]:   File "d:\python\lib\site-packages\pipenv\cli\command.py", line 254, in install
[pipenv.exceptions.VirtualenvCreationException]:       editable_packages=state.installstate.editables,
[pipenv.exceptions.VirtualenvCreationException]:   File "d:\python\lib\site-packages\pipenv\core.py", line 1741, in do_install
[pipenv.exceptions.VirtualenvCreationException]:       pypi_mirror=pypi_mirror,
[pipenv.exceptions.VirtualenvCreationException]:   File "d:\python\lib\site-packages\pipenv\core.py", line 574, in ensure_project
[pipenv.exceptions.VirtualenvCreationException]:       pypi_mirror=pypi_mirror,
[pipenv.exceptions.VirtualenvCreationException]:   File "d:\python\lib\site-packages\pipenv\core.py", line 506, in ensure_virtualenv
[pipenv.exceptions.VirtualenvCreationException]:       python=python, site_packages=site_packages, pypi_mirror=pypi_mirror
[pipenv.exceptions.VirtualenvCreationException]:   File "d:\python\lib\site-packages\pipenv\core.py", line 935, in do_create_virtualenv
[pipenv.exceptions.VirtualenvCreationException]:       extra=[crayons.blue("{0}".format(c.err)),]
[pipenv.exceptions.VirtualenvCreationException]: T

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants