dashpay / electrum-dash-old

Electrum-DASH - a Dash thin client
https://electrum-dash.org
MIT License
37 stars 113 forks source link

develop build failed on OSX #52

Closed NarubyRiverlione closed 8 years ago

NarubyRiverlione commented 8 years ago

I get error: unknown file type '.pyx' (from 'hid.pyx') error when I'm trying to build te dev branch on osx 10.11.5

Collecting hidapi>=0.7.99 (from trezor>=0.6.3->Electrum-DASH==2.4.3)
  Downloading hidapi-0.7.99.post17.tar.gz
Building wheels for collected packages: Electrum-DASH, hidapi
  Running setup.py bdist_wheel for Electrum-DASH ... done
  Stored in directory: /var/root/Library/Caches/pip/wheels/d3/1a/97/28ad54cfd3fb684373406342acbb2104d4663def7663ebbdd9
  Running setup.py bdist_wheel for hidapi ... error
  Complete output from command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-WgyV88/hidapi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpDdnKEJpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_ext
  building 'hid' extension
  error: unknown file type '.pyx' (from 'hid.pyx')

  ----------------------------------------
  Failed building wheel for hidapi
  Running setup.py clean for hidapi
Successfully built Electrum-DASH
Failed to build hidapi
Installing collected packages: protobuf, hidapi
  Running setup.py install for hidapi ... error
    Complete output from command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-WgyV88/hidapi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-UTYNga-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    building 'hid' extension
    error: unknown file type '.pyx' (from 'hid.pyx')

    ----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-WgyV88/hidapi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-UTYNga-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-WgyV88/hidapi/

Setuptools are installed

pip install --upgrade setuptools --user python
Collecting setuptools
  Using cached setuptools-24.0.2-py2.py3-none-any.whl
Requirement already up-to-date: python in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
Installing collected packages: setuptools
Successfully installed setuptools-1.1.6
schinzelh commented 8 years ago

Does it work now?