pebble / homebrew-pebble-sdk

Pebble Homebrew Tap
16 stars 22 forks source link

Cannot install pebble-sdk > 3.7.7 #39

Open tetractius opened 8 years ago

tetractius commented 8 years ago

I have problem trying to install the pebble-sdk via brew. I am relatively new to OSX and in past I had some conflicts between python from brew and the default version installed on the system. So far I was trying to stick to the default version

This is the current log in /Users/<user>/Library/Logs/Homebrew/pebble-sdk/01.python

2015-12-04 12:22:26 +0000

python
setup.py
install
--prefix=/usr/local/Cellar/pebble-sdk/3.7/libexec

Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    from setuptools import setup, find_packages
  File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 12, in <module>
    from setuptools.extension import Extension
  File "/usr/local/lib/python2.7/site-packages/setuptools/extension.py", line 8, in <module>
    from .dist import _get_unpatched
  File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 16, in <module>
    from setuptools.depends import Require
  File "/usr/local/lib/python2.7/site-packages/setuptools/depends.py", line 6, in <module>
    from setuptools import compat
  File "/usr/local/lib/python2.7/site-packages/setuptools/compat.py", line 17, in <module>
    import httplib
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 80, in <module>
    import mimetools
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetools.py", line 6, in <module>
    import tempfile
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 35, in <module>
    from random import Random as _Random
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/random.py", line 49, in <module>
    import hashlib as _hashlib
  File "build/bdist.macosx-10.10-x86_64/egg/hashlib.py", line 105, in <module>
    f()
  File "build/bdist.macosx-10.10-x86_64/egg/_hashlib.py", line 7, in <module>
  File "build/bdist.macosx-10.10-x86_64/egg/_hashlib.py", line 4, in __bootstrap__
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1161, in resource_filename
    self, resource_name
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1861, in get_resource_filename
    self._extract_resource(manager, self._eager_to_zip(name))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1897, in _extract_resource
    outf, tmpnam = _mkstemp(".$extract", dir=os.path.dirname(real_path))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3055, in _mkstemp
    return tempfile.mkstemp(*args,**kw)
AttributeError: 'module' object has no attribute 'mkstemp'

HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: f7f8243b6bfc4cdc835be7f24253610befc355ea
Last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit haswell
OS X: 10.11.1-x86_64
Xcode: 7.1.1
CLT: 7.1.0.0.1.1444952191
GCC-4.2: build 0
Clang: 7.0 build 700
X11: 2.7.8 => /opt/X11
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_25, 1.8.0_20

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/pebble-toolchain:/usr/local/opt/gettext:/usr/local/opt/libffi:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Cellar/pebble-sdk/3.7/libexec/bin:/usr/local/Library/ENV/4.3:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/gettext/bin:/usr/local/opt/glib/bin:/usr/bin:/bin:/usr/sbin:/sbin

I also did not try to figure out the build/bdist.macosx-10.10-x86_64/egg/hashlib.py which I would not expect since I am running on OSX 10.11

Thanks in advance for any help!