Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Install without sudo on OS X #211

Closed
rnkn opened this issue Jan 18, 2017 · 4 comments
Closed

Install without sudo on OS X #211

rnkn opened this issue Jan 18, 2017 · 4 comments

Comments

@rnkn
Copy link

rnkn commented Jan 18, 2017

Could you please provide some guidance for how to install without sudo for users without administrator access or those who want to keep their system consistent?

I'm on a Mac, so for me, adding to https://github.com/mopidy/homebrew-mopidy would be quite very helpful.

@rnkn
Copy link
Author

rnkn commented Jan 21, 2017

Figured it out...

$ curl -O https://bootstrap.pypa.io/get-pip.py
$ python get-pip.py --user
$ echo "${HOME}/Library/Python/2.7/bin:$PATH" >> ~/.bashrc
$ source ~/.bashrc
$ brew install mopidy
$ echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> ${HOME}/Library/Python/2.7/lib/python/site-packages/homebrew.pth
$ pip install --user mopidy-mopify

It's a bit complicated for the average user so might be worth adding this to the README?

@dirkgroenen dirkgroenen changed the title Install without sudo? Install without sudo on OS X Jan 24, 2017
@dirkgroenen
Copy link
Owner

I work on Linux so I cant test or confirm it, but I'll add a link referring to this thread to the README for people interested in installing it on OS X without sudo. Thanks.

@rnkn
Copy link
Author

rnkn commented Jan 24, 2017

Not sure if it's the canonical way to do it... This was just a bunch of trial and error...

@dirkgroenen
Copy link
Owner

Others can always drop their opinion over here. If this is indeed not the appropriate way we can always change it or remove the link.

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

No branches or pull requests

2 participants