cs50/submit50

ERROR: Cannot uninstall 'pexpect'.

Closed this issue · 1 comments

Hi! I started the CS50AI Course.

But I could not install the submit50, this is a very similar issue I had with help50 (https://github.com/cs50/help50/issues/275#issuecomment-657538240).

sudo -H pip install submit50
...
Successfully built submit50
Installing collected packages: jellyfish, attrs, ptyprocess, pexpect, lib50, submit50
  Attempting uninstall: pexpect
    Found existing installation: pexpect 4.2.1
ERROR: Cannot uninstall 'pexpect'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Xubuntu 18.04
Python 3.6.9
pip 20.2.3

Thanks!

This problem is solved by installing the program in the home folder.