Home        Store        Docs        Blog

How to install opencv and dependencies and gstreamer and plugins via package manager on windows10


(HuangJi) #1

I am trying to get video stream source in python code on my PC.
I have found this link: https://www.ardusub.com/developers/opencv.html. It suggest to install some packages via package manager and he gives commands used in ubuntu and companion.But how can i install these packages on win10? I have tried to copy the example python code in my computer and run it but the traceback showed ‘no module named gi’.
Thanks!


(Patrick José Pereira) #2

Hi,

We strongly recommend to use linux for development, but you if you want to use windows, you’ll need to find the equivalent of the apt install packages in windows to install.
About yout error message, it appears python-gst-1.0 is missing.


#3

Hi!
I have set up a VM on my computer, but QGC cannot communicate with raspberry pi. I use the ubuntu system. I’ve followed the tutorial and set the virtual machine’s IP address to 192.168.2.1.How to solve the problem of communication between the QGC under the VM and the raspberry pi?
Thanks!


(HuangJi) #4

Thank you for your quickily reply,Patrick.
And I now meet the same trouble as the @gyj said. i have changed the network settings in my virtual linux OS followed the https://www.ardusub.com/getting-started/installation.html#raspberry-pi, but the QGC has no response.


(Patrick José Pereira) #5

Hi,

@gyj and @rimu, It’s necessary to configure your virtualization software (Virtual Box, Boxes, VMware) to provide the correct network interface for you virtual machine.