mopidy / homebrew-mopidy

Homebrew formulas for Mopidy and Mopidy extensions
https://mopidy.com
Other
22 stars 15 forks source link

No setuptools module in El Capitan install #11

Closed stuzog closed 7 years ago

stuzog commented 8 years ago

Cannot start mopidy after fresh El Capitan 10.11.4 install:

bash$ brew info mopidy
mopidy/mopidy/mopidy: stable 2.0.0, HEAD
Extensible music server written in Python
http://www.mopidy.com/
Not installed
From: https://github.com/mopidy/homebrew-mopidy/blob/master/mopidy.rb
==> Dependencies
Required: gst-plugins-base ✔, gst-plugins-good ✔, gst-plugins-bad ✔, gst-plugins-ugly ✔, gst-python ✔, mopidy/mopidy/python-pykka ✘, mopidy/mopidy/python-tornado ✘, mopidy/mopidy/python-requests ✘
==> Caveats
To have launchd start mopidy/mopidy/mopidy now and restart at login:
  brew services start mopidy/mopidy/mopidy
Or, if you don't want/need a background service you can just run:
  mopidy
bash$ brew install mopidy/mopidy/python-pykka
==> Installing python-pykka from mopidy/mopidy
==> Downloading https://pypi.python.org/packages/source/P/Pykka/Pykka-1.2.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/python-pykka-1.2.1.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/python-pykka/1.2.1 --sin
Last 15 lines from /Users/Stuart/Library/Logs/Homebrew/python-pykka/01.python:
python
-c
import setuptools, tokenize
__file__ = 'setup.py'
exec(compile(getattr(tokenize, 'open', open)(__file__).read()
  .replace('\r\n', '\n'), __file__, 'exec'))
--no-user-cfg
install
--prefix=/usr/local/Cellar/python-pykka/1.2.1
--single-version-externally-managed
--record=installed.txt

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named setuptools
jodal commented 8 years ago

https://github.com/Homebrew/homebrew-python/issues/216 seems to be quite similar. Can you try the suggestions in the 4th comment there?

stuzog commented 8 years ago

Thanks, Jodal. I tried that, but get the exact same result when reinstalling mopidy.

jodal commented 7 years ago

Did a fresh install on 10.12.2 now without any issues, so assuming this was fixed by Apple or Homebrew.