Nuitka: ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.

I have installed OpenCV v4.1 from source. I have successfully created binary file using Nuitka. After that when I run the binary file it produces Import Error.

ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.

Compiled with the following command:

python3 -m nuitka --standalone --plugin-enable=pylint-warnings --plugin-enable=numpy --plugin-enable=pkg-resources --remove-output --python-flag=no_site main.py

Platform: Jetson Nano running on Ubuntu 18.04 LTS Python Version: 3.6 OpenCV 4.1.1 (compiled from source) Nuitka 0.6.15 installed through PIP3

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 16 (9 by maintainers)

Commits related to this issue

Most upvoted comments

It*s solved on factory branch and will be in the 0.8 release.