You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\Program Files\Python37\lib\site-packages\aubio\__init__.py", line 26, in <module>
from ._aubio import __version__ as version
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 945-946: invalid continuation byte
Hi,
I am getting an error when trying to install aubio using pip install aubio on my windows machine :
Running setup.py install for aubio ... error
Complete output from command d:\python36\python.exe -u -c "import setuptools, tokenize;file='C:\Users\martin\AppData\Local\T
emp\pip-install-94kdjwar\aubio\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\m
artin\AppData\Local\Temp\pip-record-p3le4shn\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
running build_ext
checking for aubio = 0.4.9
Running "pkg-config --libs --cflags aubio = 0.4.9" failed: FileNotFoundError(2, 'Le fichier spécifié est introuvable', None, 2, None)
Info: aubio 0.4.9 was not found by pkg-config
Info: looking for optional additional packages
checking for libavcodec
Running "pkg-config --libs --cflags libavcodec" failed: FileNotFoundError(2, 'Le fichier spécifié est introuvable', None, 2, None)
checking for libavformat
Running "pkg-config --libs --cflags libavformat" failed: FileNotFoundError(2, 'Le fichier spécifié est introuvable', None, 2, None)
checking for libavutil
Running "pkg-config --libs --cflags libavutil" failed: FileNotFoundError(2, 'Le fichier spécifié est introuvable', None, 2, None)
checking for libswresample
Running "pkg-config --libs --cflags libswresample" failed: FileNotFoundError(2, 'Le fichier spécifié est introuvable', None, 2, None)
checking for libavresample
Running "pkg-config --libs --cflags libavresample" failed: FileNotFoundError(2, 'Le fichier spécifié est introuvable', None, 2, None)
checking for sndfile
Running "pkg-config --libs --cflags sndfile" failed: FileNotFoundError(2, 'Le fichier spécifié est introuvable', None, 2, None)
checking for samplerate
Running "pkg-config --libs --cflags samplerate" failed: FileNotFoundError(2, 'Le fichier spécifié est introuvable', None, 2, None)
Info: libaubio was not installed or built locally with waf, adding src/
workaround on win64 to avoid empty pre-processor output
Running command: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe -E -DAUBIO_UNSTABLE=1 -Isrc src\aubio.h
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\martin\AppData\Local\Temp\pip-install-94kdjwar\aubio\setup.py", line 95, in
'aubiocut = aubio.cut:main',
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\site-packages\setuptools_init_.py", line 145, in setup
return distutils.core.setup(**attrs)
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\command\build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "d:\projets\python\smartpython\smartpython-3.6.2.0-64bit\python-3.6.2.amd64\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "python\lib\moresetuptools.py", line 192, in build_extension
usedouble=enable_double)
File "python\lib\gen_external.py", line 271, in generate_external
c_declarations = get_c_declarations(header, usedouble=usedouble)
File "python\lib\gen_external.py", line 101, in get_c_declarations
cpp_output = get_cpp_output(header=header, usedouble=usedouble)
File "python\lib\gen_external.py", line 129, in get_cpp_output
% err_output.decode('utf8'))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 54: invalid start byte
Maybe is it because my system is french ? Any idea how to solve that ?
The text was updated successfully, but these errors were encountered: