electrum icon indicating copy to clipboard operation
electrum copied to clipboard

Build failing on MacOS 14.6.1 python 3.10.11

Open gus4rs opened this issue 1 year ago • 2 comments

Running contrib/osx/make_osx.sh fails eventually:

  Running setup.py install for hidapi ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for hidapi did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      running install
      /Users/bob/Source/github/electrum/contrib/osx/build-venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_ext
      building 'hid' extension
      error: unknown file type '.pxd' (from 'chid.pxd')
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

gus4rs avatar Oct 10 '24 06:10 gus4rs

We are using much older versions of macOS to build, I am not able to test this now. You could try upgrading hidapi and see if that fixes it.

SomberNight avatar Oct 10 '24 14:10 SomberNight

You could try upgrading hidapi

Where should I change?

gus4rs avatar Oct 10 '24 16:10 gus4rs