| We have moved to https://openmodeldb.info/. This new site has a tag and search system, which will make finding the right models for you much easier! If you have any questions, ask here: https://discord.gg/cpAUpDK |
Difference between revisions of "Troubleshooting"
Jump to navigation
Jump to search
(First commit) |
(Added NumPy problem fix // Edit via Wikitext Extension for VSCode) |
||
| Line 1: | Line 1: | ||
| − | = | + | =NumPy= |
| + | |||
| + | ==Windows 10 20H2== | ||
| + | |||
| + | If you get this error: | ||
| + | |||
| + | <nowiki> | ||
| + | ** 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 "C:\dev\lang\Python38\lib\site-packages\numpy\__init__.py", line 305, in <module> | ||
| + | _win_os_check() | ||
| + | File "C:\dev\lang\Python38\lib\site-packages\numpy\__init__.py", line 302, in _win_os_check | ||
| + | raise RuntimeError(msg.format(__file__)) from None | ||
| + | RuntimeError: The current Numpy installation ('C:\\dev\\lang\\Python38\\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 | ||
| + | Traceback (most recent call last): | ||
| + | File "upscale.py", line 8, in <module> | ||
| + | import cv2 | ||
| + | File "C:\dev\lang\Python38\lib\site-packages\cv2\__init__.py", line 5, in <module> | ||
| + | from .cv2 import * | ||
| + | ImportError: numpy.core.multiarray failed to import | ||
| + | </nowiki> | ||
| + | |||
| + | You can solve this by downgrading to NumPy 1.19.3 | ||
| + | |||
| + | <nowiki>pip install numpy==1.19.3</nowiki> | ||
| + | |||
| + | This is an issue that Microsoft needs to fix, a fix is expected to come out in January of 2021. Until then, you should use the old version on Windows. | ||
Revision as of 22:42, 19 December 2020
NumPy
Windows 10 20H2
If you get this error:
** 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 "C:\dev\lang\Python38\lib\site-packages\numpy\__init__.py", line 305, in <module>
_win_os_check()
File "C:\dev\lang\Python38\lib\site-packages\numpy\__init__.py", line 302, in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\dev\\lang\\Python38\\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
Traceback (most recent call last):
File "upscale.py", line 8, in <module>
import cv2
File "C:\dev\lang\Python38\lib\site-packages\cv2\__init__.py", line 5, in <module>
from .cv2 import *
ImportError: numpy.core.multiarray failed to import
You can solve this by downgrading to NumPy 1.19.3
pip install numpy==1.19.3
This is an issue that Microsoft needs to fix, a fix is expected to come out in January of 2021. Until then, you should use the old version on Windows.