evals icon indicating copy to clipboard operation
evals copied to clipboard

-e in pip install -e . fails (linux and wsl2) [Bug?]

Open mmtmn opened this issue 1 year ago • 4 comments

Hey everyone,

For some reason, when running on linux distro (wsl2 or ubuntu) the pip install -e . fails while it works on other operational systems. I've been getting an error saying its built backend is missing on the pyproject.toml.

I'm not sure if anyone else is experiencing this or if it's just me. I have, however, just tried on 2 devices and had the same error so I decided to open an issue.

here is the error message:

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /evals
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)

mmtmn avatar Mar 17 '23 02:03 mmtmn

image ubuntu

mmtmn avatar Mar 17 '23 02:03 mmtmn

image wsl2

mmtmn avatar Mar 17 '23 02:03 mmtmn

Hello, I had this issue as well. But when I upgraded pip to the latest version, it worked for me.

sivasweatha avatar Mar 17 '23 07:03 sivasweatha

I guess it's the problem of your enviorment Try conda to create a new experient enviorment with python3.9 would help

JimmyfaQwQ avatar Mar 17 '23 15:03 JimmyfaQwQ

pip install --upgrade pip

mmtmn avatar Mar 19 '23 22:03 mmtmn

Thank you so much for this. Was having this issue on Ubuntu Server 22.04

russeree avatar Apr 03 '23 22:04 russeree