Closed dansitu closed 1 year ago
I get the following error when attempting to install from the repo with pip install -e .
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Obtaining file:///content/Vendi-Score
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
ERROR: Project file:///content/Vendi-Score has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.
And doing plain old pip install .
gives this:
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Processing /content/Vendi-Score
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: UNKNOWN
Building wheel for UNKNOWN (pyproject.toml) ... done
Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=1797 sha256=5c50dc3fc939c0ebacf2a7a389695673a100c944d784f0110a8e5d522230f162
Stored in directory: /root/.cache/pip/wheels/01/91/6a/3ab2cc71b65d9f94e2f845191a1183377f961c88c3116ad8d9
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Attempting uninstall: UNKNOWN
Found existing installation: UNKNOWN 0.0.0
Uninstalling UNKNOWN-0.0.0:
Successfully uninstalled UNKNOWN-0.0.0
Successfully installed UNKNOWN-0.0.0
I'm able to pip install .
after upgrading the local pip from 22.0.4
to 22.3.1
.
Yep, confirmed it all works as expected with pip 22.3.1
including pip install vendi_score
.
Thank you! Glad it all worked out!
Brilliant paper and library, thank you.
Installing on Colab, v0.0.3 fails due to an error and it has to fall back to v0.0.1:
Full log: