Open lucasromeiro opened 3 years ago
Hi there. It seems like you tried installing Surfboard with an existing install of llvmlite. I am not super familiar with Windows, but on Mac / Linux, when an issue such as this one arises, I typically try installing as:
pip install surfboard --ignore-installed
How i can solve this?
Installing collected packages: llvmlite, numba, toml, py, pluggy, iniconfig, future, colorama, attrs, atomicwrites, pyyaml, pytest, pysptk, pyloudnorm, PeakUtils, Cython, surfboard Attempting uninstall: llvmlite Found existing installation: llvmlite 0.35.0 Uninstalling llvmlite-0.35.0: Successfully uninstalled llvmlite-0.35.0 Running setup.py install for llvmlite ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\User\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\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\User\AppData\Local\Temp\pip-record-x56_7uax\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\llvmlite' cwd: C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\ Complete output (27 lines): running install running build got version from file C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\llvmlite/_version.py {'version': '0.31.0', 'full': 'fe7d985f6421d87f613bd414479d29d912771562'} running build_ext C:\Users\User\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\ffi\build.py Trying generator 'Visual Studio 14 2015 Win64' Traceback (most recent call last): File "C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\ffi\build.py", line 168, in
main()
File "C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\ffi\build.py", line 156, in main
main_win32()
File "C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\ffi\build.py", line 88, in main_win32
generator = find_win32_generator()
File "C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\ffi\build.py", line 76, in find_win32_generator
try_cmake(cmake_dir, build_dir, generator)
File "C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\ffi\build.py", line 28, in try_cmake
subprocess.check_call(['cmake', '-G', generator, cmake_dir])
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 368, in check_call
retcode = call(*popenargs, *kwargs)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 349, in call
with Popen(popenargs, **kwargs) as p:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64qbz5n2kfra8p0\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64qbz5n2kfra8p0\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] O sistema não pode encontrar o arquivo especificado
error: command 'C:\Users\User\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' failed with exit code 1
Rolling back uninstall of llvmlite Moving to c:\users\user\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages\llvmlite-0.35.0.dist-info\ from C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\~lvmlite-0.35.0.dist-info Moving to c:\users\user\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages\llvmlite\ from C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\~lvmlite ERROR: Command errored out with exit status 1: 'C:\Users\User\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-44tjgb61\llvmlite_91a93e84f71741878ab831770109c4c6\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\User\AppData\Local\Temp\pip-record-x56_7uax\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\llvmlite' Check the logs for full command output.
D:\Downloads\surfboard>