Stitch
Stitch copied to clipboard
Error with pip install -r lnx_requirements.txt | Arch linux
I have python 2.7 installed so not sure what this error is about
how did u fix it btw?
just search "pip error error: metadata-generation-failed".
You use the python 3.10 at /home/test/.local/lib/python3.10
not your python 2.7
I have been the same error on a project, are you using a vritual env created with sudo ?
When you install the requirements the script want to modify somes files and he didn't have permissions to do this because the env was installed with sudo.
You should't use sudo to create a virtual env, the solution is maybe to recreate a new python env with python -m venv .venv