You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately that won't work. Try sudo update-alternatives --config python to change your python systemwide, although that can break many things.
An easier solution is likely to just run build_opencv.sh from an active python3.7 venv. Then cmake will use the venv's python environment variables to find the appropriate python and (should) install the module in your venv. From there you can copy it to any python3.7 path in sys.path.
Hi
I have JETSON NANO developer kit.
I installed Python 3.7.5 as it was needed for Adafruit libraries (pip install adafruit-circuitpython-servokit)
Then I set Python3.7.5 as the default Python3:
sudo rm /usr/bin/python3
sudo ln -s /usr/bin/python3.7 /usr/bin/python3
Then I installed opencv 4.1.1 using your script and command:
./build_opencv.sh 4.1.1
But after that when I tried to "import cv2", I got the error:
File , line1 in
ModuleNotFoundError: No module named 'cv2'
Can you please modify the script so it includes support for Python3.7.5 ?
Thanks,
BR,
Waqas
The text was updated successfully, but these errors were encountered: