Skip to content

MemoryError while creating a virtual environment #3863

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
fuyunekojima opened this issue Jul 21, 2019 · 2 comments
Closed

MemoryError while creating a virtual environment #3863

fuyunekojima opened this issue Jul 21, 2019 · 2 comments

Comments

@fuyunekojima
Copy link

Trying to create a virtual environment with pipenv-python 3.7 will end up with a MemoryError after being held for a very long time.
At that time, a large number of logs such as 'Running virtualenv with interpreter C: \ Program Files \ Python37 \ python.exe' appear.
The virtual environment is not created when only 'Pipfile' is created.
The contents of 'Pipfile' are empty.

Looking at the processes in the task manager, you can see that the python processes are constantly increasing while creating the virtual environment.

Python was installed from the official site binary and was installed as pip install pipinv after pip install --upgrade pip.

The 'PIPENV_VENN_PROJECT' environment variable is 'true'.

System:
     windows 10 pro
     RAM: 16GB
     CPU: i7 3770
     GPU: GTX 680
Python:
     Version: 3.7
Pipenv:
Version: 2018.11.26

@ghost ghost added the triage label Jul 21, 2019
@frostming frostming removed the triage label Jul 22, 2019
@frostming
Copy link
Contributor

You must be using Python 3.7.4 and virtualenv<16.6.2 , you may want #3832 .

@fuyunekojima
Copy link
Author

I solved it when I raised the version of virtualenv.

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

2 participants