Successfully solve the problem of upgrading virtualenv error

     When upgrading the current virtualenv version, an error is reported: ERROR: Cannot uninstall'virtualenv'. 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.
    The command executed during the upgrade Yes: pip install --upgrade virtualenv

    Change to execute the following command and no error will be reported: pip install --upgrade virtualenv --ignore-installed distlib

Guess you like

Origin blog.csdn.net/xiaoan08133192/article/details/109121027
Recommended