I have installed OpenCV 4.1 in Jetson Nano from source. It works perfect when i run my python3 code. After compiling python code using pyinstaller it throws ImportError.
ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.
How do I compile python code using PyInstaller to make OpenCV included? Is there any other method to install OpenCV? I have tried pip3 install opencv-python
but it does not find the matching distribution and if I install using sudo apt-get install python3-opencv
it installs an older version.
Any help wou.d be helpful.
I have also followed this thread but it does not work when OpenCV is compiled from source...