uma-pi1 / kge

LibKGE - A knowledge graph embedding library for reproducible research
MIT License
765 stars 124 forks source link

ERROR: file:///content does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found. #276

Closed halima752 closed 11 months ago

halima752 commented 1 year ago

Hi, I'm trying to install the package in colab : !git clone https://github.com/uma-pi1/kge.git !cd kge !pip install -e . and this error appears : ERROR: file:///content does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found. could you help me to solve this issue?

rgemulla commented 1 year ago

Try removing the exclamation mark in front of "cd kge":

!git clone https://github.com/uma-pi1/kge.git cd kge !pip install -e .

halima752 commented 1 year ago

hi, I tried removing the exclamation mark in front of "cd kge": !git clone https://github.com/uma-pi1/kge.git cd kge !pip install -e .

also, I have an error. error :File "", line 2 cd kge ^ SyntaxError: invalid syntax

rgemulla commented 1 year ago

I've just tested the above code in Colab, Python 3 runtime, without problems.