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

Need root for pip install idesolver #3

Closed
iljah opened this issue Jan 23, 2018 · 4 comments
Closed

Need root for pip install idesolver #3

iljah opened this issue Jan 23, 2018 · 4 comments
Assignees

Comments

@iljah
Copy link

iljah commented Jan 23, 2018

I would be nice to mention in readme that the given pip command requires root and/or also provide a version for local installation: pip install --user idesolver

@JoshKarpel
Copy link
Owner

I suspect you're trying to install into the system Python. If you install into a virtual environment, you shouldn't need sudo or --user. Virtual environment installation is the standard - I've added a note to this effect in the readme and the quickstart.

@JoshKarpel
Copy link
Owner

@iljah - could you clarify whether the above comment fixed the issue so that I can close?

@iljah
Copy link
Author

iljah commented Jan 26, 2018

Virtual environment also works but in that case it would be helpful to show all required commands, which I guess could be:

python3 -m venv $HOME/idesolver-env
pip install idesolver

assuming the user already has pip installed, etc.

@JoshKarpel
Copy link
Owner

I'd prefer not to explicitly write out the instructions, instead linking to some external resource (which was done in 7ebb514). Although installing into virtual environments is the standard, the preferred method of doing that is changing pretty fast these days (I use conda, for example, and pipenv is becoming popular recently). I like the current solution of linking to the official docs on virtual environments, since it's the common denominator where any virtual environment solution starts from. The instructions for any particular solution are going to be quite different from each other, and any specifics given may conflict with whatever the user already has installed.

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

2 participants