TheImagingSource / tiscamera

The Linux SDK for The Imaging Source cameras.
https://www.theimagingsource.com
Apache License 2.0
297 stars 145 forks source link

Use dfk 33ux287 tisCam code to install library fail #553

Open Rweichen opened 1 month ago

Rweichen commented 1 month ago

1715486335883 Missing module gi when running tiscam code pip install PyGObject fail

螢幕擷取畫面 2024-05-13 091309

TIS-Stefan commented 1 month ago

Hello I searched in the internet for "no module named gi" and found https://stackoverflow.com/questions/71369726/no-module-named-gi and many more. However, as far as I know, WSL has not access to the USB port, thus you wont be able to access the camera in WSL at all. (May be that was changed, but I do not know)

Stefan

Rweichen commented 1 month ago

I run it directly on the window, not WSL.

你好, 我在網路上搜尋「沒有名為 gi 的模組」並找到了 https://stackoverflow.com/questions/71369726/no-module-named-gi 等等。 但是,據我所知,WSL 無法訪問 USB 端口,因此您根本無法訪問 WSL 中的相機。 (可能已經改變了,但我不知道)

斯特凡

Rweichen commented 1 month ago

好,我在網上搜尋“ 沒有 叫 gi 的模組”並找到了 https://stackoverflow.com/questions/71369726/no-module-named-gi 等等。端口,因此您根本無法訪問WSL中的功能。

斯特凡

Because when I run the program, it displays like this. I wonder if I have installed less libraries?

TIS-Stefan commented 1 month ago

I am very sorry, but my Chinese is very bad.

Because when I run the program, it displays like this. I wonder if I have installed less libraries?

Displayed Like what?

However, I never ran tiscamera in WSL, thus I am not of big help here.

Rweichen commented 1 month ago

11222 issue is Namespace Tcam not available

Rweichen commented 1 month ago

Is there any gstreamer that is compatible with Windows? I think they are all for Linux. I'm wondering if Namespace Tcam not available is related to gstreamer?

I am very sorry, but my Chinese is very bad.

Because when I run the program, it displays like this. I wonder if I have installed less libraries?

Displayed Like what?

However, I never ran tiscamera in WSL, thus I am not of big help here.

TIS-Edgar commented 1 month ago

GStreamer is available for windows. To have the module Tcam available you need to have gobject-introspection available.

tiscamera very explicitly has no windows support.

If you want to develop for python I highly recommend the use of IC4 as the way forward. You can find the documentation for IC4 python here: https://www.theimagingsource.com/en-us/documentation/ic4python/index.html