This error occurs when the value for "require-virtualenv" is set to true in the PIP configuration file (pip.ini) but there is no active virtual environment present. This means that PIP is configured to only allow package installations within a virtual environment, and it cannot locate one. To fix this error, you can either activate a virtual environment or set the value for "require-virtualenv" to false in the pip.ini file.
Asked: 2021-06-17 11:00:00 +0000
Seen: 11 times
Last updated: Apr 24 '21