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

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kayhayencommented, May 15, 2022

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

0reactions
kayhayencommented, Mar 3, 2022

@ductandev that’s actually useful to know

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenCV loader: missing configuration file: ['config.py'] #14064
Check OpenCV installation.'.format(fnames)) ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation ...
Read more >
[pyinstaller][open-cv] ImportError: OpenCV loader: missing ...
I have solved this problem by upgrading opencv-python and pyinstaller pip install --upgrade opencv-python pip install --upgrade pyinstaller.
Read more >
OpenCV loader: missing configuration file: ['config.py']. Check ...
I'm trying to binarize my python application on Jetson Nano, Jetpack 4.2.1 using pyinstaller. But when run the binary file, I got this...
Read more >
Missing config-3.py and config-3.8.py during installation from ...
Hello,. I'm messing up when trying to install openCV from sources. System: Ubuntu 18.04 OpenCV Version: 4.5.2 (latest)
Read more >
Missing config-3.8.py after source build [Question] : r/opencv
Check OpenCV installation.'.format(fnames)) ImportError: OpenCV loader: missing configuration file: ['config-3.8.py', 'config-3.py ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found