AI4LIFE-GROUP / OpenXAI

OpenXAI : Towards a Transparent Evaluation of Model Explanations
https://open-xai.github.io/
MIT License
227 stars 37 forks source link

Not install using the pip command #2

Closed ripankundu closed 1 year ago

ripankundu commented 1 year ago

Hi,

I am trying to use the OpenXAI tool in the google colab environment. But when I using the pip command the following error is show:

"ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /content"

Could you please provide any solution of this problem.

y12uc231 commented 1 year ago

Do you mind sharing the exact pip command, and the complete stack trace for me to reproduce the error? Thanks!

ripankundu commented 1 year ago

Thank you for your quick response . The command is in the below: pip install -e .

However, I tried with the command "pip install -e ". Then the following problem is arise

**Usage:
pip3 install [options] [package-index-options] ... pip3 install [options] -r [package-index-options] ... pip3 install [options] [-e] ... pip3 install [options] [-e] ... pip3 install [options] <archive url/path> ...

-e option requires 1 argument**

jiaqima commented 1 year ago

However, I tried with the command "pip install -e ". Then the following problem is arise

Did you miss the dot in your command?

It should be pip install -e . instead of pip install -e

ripankundu commented 1 year ago

@jiaqima I also used pip install -e . for installing the openXAI in the google colab but the following error is raised:

ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /content

jiaqima commented 1 year ago

Hi @ripankundu, you have to be in the OpenXAI root folder to run pip install -e .. I'm not sure how to locate the folder in colab though.