问题
** On entry to DGEBAL parameter number 3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):
File “d:\anaconda\envs\labelme\lib\runpy.py”, line 193, in run_module_as_main
“main”, mod_spec)
File “d:\anaconda\envs\labelme\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "D:\Anaconda\envs\labelme\Scripts\labelme.exe_main.py", line 4, in
File "d:\anaconda\envs\labelme\lib\site-packages\labelme_init.py", line 25, in
from labelme.label_file import LabelFile
File “d:\anaconda\envs\labelme\lib\site-packages\labelme\label_file.py”, line 13, in
from labelme import utils
File “d:\anaconda\envs\labelme\lib\site-packages\labelme\utils_init_.py”, line 3, in
from .io import lblsave
File “d:\anaconda\envs\labelme\lib\site-packages\labelme\utils_io.py”, line 3, in
import numpy as np
File "d:\anaconda\envs\labelme\lib\site-packages\numpy_init.py", line 305, in
win_os_check()
File "d:\anaconda\envs\labelme\lib\site-packages\numpy_init.py", line 302, in _win_os_check
raise RuntimeError(msg.format(file)) from None
RuntimeError: The current Numpy installation (‘d:\anaconda\envs\labelme\lib\site-packages\numpy\init.py’) fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86
问题原因
windows只能安装1.19.3,直接使用pip3 install命令安装的是最新的1.19.4版本,因此在安装时需要指定版本:
解决
先卸载
pip3 uninstall numpy
再装
pip install -i https://mirrors.aliyun.com/pypi/simple numpy==1.19.3
成功启动