Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rweichen opened this issue May 13, 2024 · 7 comments
Open

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

Rweichen opened this issue May 13, 2024 · 7 comments

Comments

@Rweichen
Copy link

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

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

@TIS-Stefan
Copy link
Contributor

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
Copy link
Author

I run it directly on the window, not WSL.

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

斯特凡

@Rweichen
Copy link
Author

好,我在網上搜尋“ 沒有 叫 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
Copy link
Contributor

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
Copy link
Author

11222
issue is Namespace Tcam not available

@Rweichen
Copy link
Author

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants