Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not install using the pip command #2

Closed
ripankundu opened this issue Oct 31, 2022 · 5 comments
Closed

Not install using the pip command #2

ripankundu opened this issue Oct 31, 2022 · 5 comments

Comments

@ripankundu
Copy link

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
Copy link
Collaborator

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

@ripankundu
Copy link
Author

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
Copy link
Collaborator

jiaqima commented Nov 2, 2022

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
Copy link
Author

@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
Copy link
Collaborator

jiaqima commented Nov 28, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants