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

Cannot install librosa in python2.7 #26

Open
shahriar-mohim007 opened this issue May 31, 2022 · 0 comments
Open

Cannot install librosa in python2.7 #26

shahriar-mohim007 opened this issue May 31, 2022 · 0 comments

Comments

@shahriar-mohim007
Copy link

Building wheels for collected packages: llvmlite
Building wheel for llvmlite (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qOxt_s/llvmlite/setup.py'"'"'; _file='"'"'/tmp/pip-install-qOxt_s/llvmlite/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, _file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-lHkDxM
cwd: /tmp/pip-install-qOxt_s/llvmlite/
Complete output (7 lines):
running bdist_wheel
/usr/bin/python2 /tmp/pip-install-qOxt_s/llvmlite/ffi/build.py
File "/tmp/pip-install-qOxt_s/llvmlite/ffi/build.py", line 122
raise ValueError(msg.format(_ver_check_skip)) from e
^
SyntaxError: invalid syntax
error: command '/usr/bin/python2' failed with exit status 1

ERROR: Failed building wheel for llvmlite
Running setup.py clean for llvmlite
Failed to build llvmlite
Installing collected packages: pycparser, cffi, soundfile, llvmlite, funcsigs, enum34, numba, resampy, librosa
Running setup.py install for llvmlite ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qOxt_s/llvmlite/setup.py'"'"'; _file='"'"'/tmp/pip-install-qOxt_s/llvmlite/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, _file, '"'"'exec'"'"'))' install --record /tmp/pip-record-5YZSM2/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/raiyan/.local/include/python2.7/llvmlite
cwd: /tmp/pip-install-qOxt_s/llvmlite/
Complete output (10 lines):
running install
running build
got version from file /tmp/pip-install-qOxt_s/llvmlite/llvmlite/_version.py {'version': '0.32.1', 'full': 'aa11b129c0b55973067422397821ae6d44fa5e70'}
running build_ext
/usr/bin/python2 /tmp/pip-install-qOxt_s/llvmlite/ffi/build.py
File "/tmp/pip-install-qOxt_s/llvmlite/ffi/build.py", line 122
raise ValueError(msg.format(_ver_check_skip)) from e
^
SyntaxError: invalid syntax
error: command '/usr/bin/python2' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qOxt_s/llvmlite/setup.py'"'"'; _file='"'"'/tmp/pip-install-qOxt_s/llvmlite/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, _file, '"'"'exec'"'"'))' install --record /tmp/pip-record-5YZSM2/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/raiyan/.local/include/python2.7/llvmlite Check the logs for full command output.

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

1 participant