Stitch icon indicating copy to clipboard operation
Stitch copied to clipboard

Error with pip install -r lnx_requirements.txt | Arch linux

Open Tester4044 opened this issue 2 years ago • 3 comments

I have python 2.7 installed so not sure what this error is about Screenshot_20220312_125807

Tester4044 avatar Mar 12 '22 20:03 Tester4044

how did u fix it btw?

Nfglotus666 avatar Sep 25 '22 02:09 Nfglotus666

just search "pip error error: metadata-generation-failed".

Icicles0 avatar Nov 05 '22 20:11 Icicles0

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

yannis-mlgrn avatar Nov 06 '22 12:11 yannis-mlgrn