Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librosa msgpack build error #1001

Closed
apmsoft opened this issue Oct 16, 2023 · 2 comments
Closed

librosa msgpack build error #1001

apmsoft opened this issue Oct 16, 2023 · 2 comments

Comments

@apmsoft
Copy link

apmsoft commented Oct 16, 2023

https://librosa.org/doc/0.10.1/install.html

librosa pip install 은 되는데
빌드 과정에 여러 종속성 문제인지 버그가 발생합니다.

Building wheels for collected packages: msgpack, numba, llvmlite
  Building wheel for msgpack (PEP 517): started
  Building wheel for msgpack (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/homebrew/Caskroom/miniforge/base/bin/python3 /Users/kimjongkwan/Documents/api/chaquopy-matplotlib/app/build/generated/python/bp/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/_f/j4rd_zxj1pl8nc0xw567f82r0000gn/T/tmpojcip6xt
       cwd: /private/var/folders/_f/j4rd_zxj1pl8nc0xw567f82r0000gn/T/pip-install-zu5dnyua/msgpack
  Complete output (33 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-11.0-arm64-cpython-310
  creating build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/__init__.py -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/exceptions.py -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/fallback.py -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/ext.py -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  running egg_info
  writing msgpack.egg-info/PKG-INFO
  writing dependency_links to msgpack.egg-info/dependency_links.txt
  ERROR: Command errored out with exit status 1:

  writing top-level names to msgpack.egg-info/top_level.txt
  reading manifest file 'msgpack.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.c' under directory 'msgpack'
  adding license file 'COPYING'
  writing manifest file 'msgpack.egg-info/SOURCES.txt'
  copying msgpack/_cmsgpack.cpp -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/_cmsgpack.pyx -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/_packer.pyx -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/_unpacker.pyx -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/buff_converter.h -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/pack.h -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/pack_template.h -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/sysdep.h -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/unpack.h -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/unpack_define.h -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  copying msgpack/unpack_template.h -> build/lib.macosx-11.0-arm64-cpython-310/msgpack
  running build_ext
  building 'msgpack._cmsgpack' extension
  error: CCompiler.compile: Chaquopy cannot compile native code
  ----------------------------------------
ERROR: Failed to install msgpack>=1.0 from https://files.pythonhosted.org/packages/c2/d5/5662032db1571110b5b51647aed4b56dfbd01bfae789fa566a2be1f385d1/msgpack-1.0.7.tar.gz#sha256=572efc93db7a4d27e404501975ca6d2d9775705c2d922390d878fcf768d92c87 (from librosa).
For assistance, please raise an issue at https://github.com/chaquo/chaquopy/issues.
  warning: no files found matching '*.c' under directory 'msgpack'
스크린샷 2023-10-16 오전 10 20 31
@mhsmith
Copy link
Member

mhsmith commented Oct 16, 2023

As well as msgpack, the current version of librosa also requires a newer version of numba than we currently provide. You can work around this by installing an older version of librosa, as shown at #834 (comment).

The older librosa version doesn't require msgpack, but I've created #1299 to track msgpack separately.

@apmsoft
Copy link
Author

apmsoft commented Oct 16, 2023 via email

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

No branches or pull requests

2 participants