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

conda doesn't support pip install e . #91

Open
usmansohail opened this issue Jan 5, 2019 · 3 comments
Open

conda doesn't support pip install e . #91

usmansohail opened this issue Jan 5, 2019 · 3 comments

Comments

@usmansohail
Copy link

I am trying to install spinningup, but the instructions say to use a conda environment. However, directly after this, it says to use pip install e . However, it seems that this only installs it to the directory spinningup is in, it does not install it to the virtual environment. For my project, I would like to avoid putting all my work in a copy of the spinningup repo. How should I proceed with conda?

@etendue
Copy link

etendue commented Jan 8, 2019

Did you miss the hyphen?

pip install -e .

@usmansohail
Copy link
Author

I tried it with both. I missed the hyphen when typing up the problem.

@colllin
Copy link
Contributor

colllin commented Jan 22, 2019

@usmansohailWere you in the top-level of the project directory when you tried pip install -e .? I apologize — I misread your question. In order to pip install something into your conda environment, it looks like you need to both activate your conda environment and conda install pip within that environment: https://stackoverflow.com/questions/41060382/using-pip-to-install-packages-to-anaconda-environment

If your question is about "how to install spinningup as a package in another project", then I think you just want something more like pip install -e path/to/spinningup, or potentially you could also just install via GitHub url if you don't intend to modify your local copy of spinningup.

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

3 participants