cs50 / ide-issues

1 stars 1 forks source link

Creating virtual environment with python venv module gives error #46

Closed SNathJr closed 4 years ago

SNathJr commented 4 years ago

What symptom did you see (attaching screenshots as necessary)?

Error: Command '['/home/ubuntu/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

When date and time (UTC) did the problem happen?

7:01 pm Saturday, 21 September 2019 Coordinated Universal Time (UTC)

What steps did you follow to reproduce the problem?

python -m venv venv

Which web browser did you use (including version number)?

Chrome latest

Which operating system did you use (including version number)?

Windows 10 latest

Did you log in to CS50 IDE using the same GitHub account you used to create this issue?

Yes

More details

though this github issue gives a possible solution, but I would like to know if there is any cleaner method. Or if I broke my CS50 IDE!?

SNathJr commented 4 years ago

This issue seems to have caused by lack of space on the IDE. Making space empty seems to have fixed the issue. Thanks anyways. I would really love to see just a little bit extra space on the IDE.

dannielshalev commented 4 years ago

I have the same issue, there is a workaround?

kzidane commented 4 years ago

@dannielshalev if you're running out of space, you may run du -h /home/ubuntu | sort -h to figure out if there any files that are taking up disk space that you don't need and remove them.