Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Dain-App 1.0 OpenCV error

A topic by lordxeorus created Jan 13, 2021 Views: 387 Replies: 4
Viewing posts 1 to 5

OpenCV is installed:

Package       Version
------------- -------
opencv-python 4.4.0
pip           20.3.3
setuptools    49.2.1


But while i'm trying to launch Dain-App 1.0, there is error:

Traceback (most recent call last):
  File "my_design.py", line 8, in <module>
  File "F:\miniconda3\envs\torch17\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
  File "my_DAIN_class.py", line 9, in <module>
  File "F:\miniconda3\envs\torch17\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
  File "networks\__init__.py", line 1, in <module>
  File "F:\miniconda3\envs\torch17\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
  File "networks\DAIN.py", line 18, in <module>
  File "F:\miniconda3\envs\torch17\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
  File "site-packages\cv2\__init__.py", line 5, in <module>
ImportError: DLL load failed while importing cv2: %1 is not  Win32 application.
[7584] Failed to execute script my_design

What i can do?

Anybody?

Developer

Are you using a 32 bits windows? It could be the problem, is mostly tested on a 64bit windows.

x64 Win10

Developer

That is really strange. Are you using the precompiled version or trying to run from the git code?