-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Closed
Description
updating to the latest master , an UnicodeDecodeError occurred even after execute git clean -xfd
Reproducing code example:
No code example.
Error message:
CCompilerOpt.cc_test_flags[989] : testing flags (/WX)
CCompilerOpt.__init__[1137] : feature 'AVX512_KNL' is disabled, MSVC compiler doesn't support it
CCompilerOpt.__init__[1137] : feature 'AVX512_KNM' is disabled, MSVC compiler doesn't support it
CCompilerOpt.__init__[1621] : check requested baseline
CCompilerOpt.cc_test_flags[989] : testing flags (/arch:SSE)
Traceback (most recent call last):
File "setup.py", line 499, in <module>
setup_package()
File "setup.py", line 491, in setup_package
setup(**metadata)
File "D:\Source\numpy\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "C:\Python36\lib\site-packages\setuptools\__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "C:\Python36\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python36\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Python36\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "D:\Source\numpy\numpy\distutils\command\build_ext.py", line 111, in run
build_clib.run()
File "D:\Source\numpy\numpy\distutils\command\build_clib.py", line 126, in run
cpu_dispatch=self.cpu_dispatch, cache_path=opt_cache_path
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 2451, in new_ccompiler_opt
opt = CCompilerOpt(compiler, **kwargs)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 2055, in __init__
_Parse.__init__(self, cpu_baseline, cpu_dispatch)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 1624, in __init__
baseline_names = self.feature_names(cpu_baseline)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 1182, in feature_names
if self.feature_is_supported(f, force_flags=force_flags):
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 829, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 1471, in feature_is_supported
if not self.feature_test(impl, force_flags):
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 829, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 1432, in feature_test
force_flags = self.feature_flags(name)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 829, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 1411, in feature_flags
if not f or not self.cc_test_flags(f):
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 829, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 991, in cc_test_flags
test = self.dist_test(test_path, flags)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 556, in dist_test
[source], flags, output_dir=self.conf_tmp_path
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 536, in dist_compile
sources, extra_postargs=flags, **kwargs
File "C:\Python36\lib\distutils\_msvccompiler.py", line 423, in compile
self.spawn(args)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 668, in _dist_test_spawn_paths
self._dist_test_spawn(cmd)
File "D:\Source\numpy\numpy\distutils\ccompiler_opt.py", line 686, in _dist_test_spawn
o = o.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 4: invalid continuation byte
CCompilerOpt._cache_write[786] : write cache to path -> D:\Source\numpy\build\temp.win-amd64-3.6\ccompiler_opt_cache_clib.py
Metadata
Metadata
Assignees
Labels
No labels