音声解析を行うためにwindows10のpython3.9にlibrosaを
コマンドプロンプトを用いてインストールしようとして
pip install librosa
pip3 install librosa
py -m pip install librosa
のようにいろいろ試してみたのですがすべて同じエラーが発生してしまいました。
どのようにすれば解決できるでしょうか?
発生している問題・エラーメッセージ
Running setup.py install for llvmlite ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m_\llvmlite_e0a017901e4c45598d5a305eff26318c\setup.py'"'"'; file='"'"'C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m_\llvmlite_e0a017901e4c45598d5a305eff26318c\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Hashiguchi\AppData\Local\Temp\pip-record-zxrjtawk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\Include\llvmlite'
cwd: C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m_\llvmlite_e0a017901e4c45598d5a305eff26318c
Complete output (27 lines):
running install
running build
got version from file C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m_\llvmlite_e0a017901e4c45598d5a305eff26318c\llvmlite/version.py {'version': '0.34.0', 'full': 'c5889c9e98c6b19d5d85ebdd982d64a03931f8e2'}
running build_ext
C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\python.exe C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m\llvmlite_e0a017901e4c45598d5a305eff26318c\ffi\build.py
Trying generator 'Visual Studio 15 2017 Win64'
Traceback (most recent call last):
File "C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m_\llvmlite_e0a017901e4c45598d5a305eff26318c\ffi\build.py", line 191, in <module>
main()
File "C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m_\llvmlite_e0a017901e4c45598d5a305eff26318c\ffi\build.py", line 179, in main
main_win32()
File "C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m_\llvmlite_e0a017901e4c45598d5a305eff26318c\ffi\build.py", line 88, in main_win32
generator = find_win32_generator()
File "C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m_\llvmlite_e0a017901e4c45598d5a305eff26318c\ffi\build.py", line 76, in find_win32_generator
try_cmake(cmake_dir, build_dir, generator)
File "C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m_\llvmlite_e0a017901e4c45598d5a305eff26318c\ffi\build.py", line 28, in try_cmake
subprocess.check_call(['cmake', '-G', generator, cmake_dir])
File "C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 368, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 349, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in execute_child
hp, ht, pid, tid = winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。
error: command 'C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\python.exe' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m\llvmlite_e0a017901e4c45598d5a305eff26318c\setup.py'"'"'; file='"'"'C:\Users\Hashiguchi\AppData\Local\Temp\pip-install-y9o_h8m\llvmlite_e0a017901e4c45598d5a305eff26318c\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Hashiguchi\AppData\Local\Temp\pip-record-zxrjtawk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Hashiguchi\AppData\Local\Programs\Python\Python39\Include\llvmlite' Check the logs for full command output.
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/12/30 01:28