pipenv update created too many subprocess until crash

Created on 10 Jul 2019  路  6Comments  路  Source: pypa/pipenv

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.

Most helpful comment

Pin this issue for any newcomers who encountered this problem.

All 6 comments

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

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.

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

Pin this issue for any newcomers who encountered this problem.

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

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
Was this page helpful?
0 / 5 - 0 ratings

Related issues

xi picture xi  路  3Comments

jacebrowning picture jacebrowning  路  3Comments

bgjelstrup picture bgjelstrup  路  3Comments

konstin picture konstin  路  3Comments

AkiraSama picture AkiraSama  路  3Comments