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

This example doesn't work too #28

Open
easy-and-simple opened this issue May 28, 2023 · 5 comments
Open

This example doesn't work too #28

easy-and-simple opened this issue May 28, 2023 · 5 comments
Assignees
Labels
Hardware:M.2 Accelerator A+E Coral M.2 Accelerator A+E key issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:bug Bug type:build/install Build and install issues type:docs-bug Document issues type:docs-feature Doc issues for new feature, or clarifications about functionality type:support Support question or issue

Comments

@easy-and-simple
Copy link

easy-and-simple commented May 28, 2023

Description

This example doesn't work too
ModuleNotFoundError: No module named 'gi'
It is installed on miniconda, gi module is there but it can't find it
Yolo also uses gstream but it works

Click to expand!

Issue Type

Bug, Build/Install, Support, Documentation Feature Request, Documentation Bug

Operating System

Ubuntu

Coral Device

M.2 Accelerator A+E

Other Devices

No response

Programming Language

Python 3.9

Relevant Log Output

ModuleNotFoundError: No module named 'gi'
@google-coral-bot google-coral-bot bot added Hardware:M.2 Accelerator A+E Coral M.2 Accelerator A+E key issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:bug Bug type:build/install Build and install issues type:docs-bug Document issues type:docs-feature Doc issues for new feature, or clarifications about functionality type:support Support question or issue labels May 28, 2023
@hjonnala
Copy link
Contributor

Hi @easy-and-simple please try runnig bash install_requiremnets.sh.

@easy-and-simple
Copy link
Author

So you think I am moron so I didn't run it?
This stupid script is not working! Module gi is installed and it is there, but stupid coral code can't find and load it
It is very annoying that no body cares about that nothing works. Coral documentation is very bad and useless

@easy-and-simple
Copy link
Author

easy-and-simple commented Jun 13, 2023

I installed older ubuntu version with python3.9 without any clue because google scripts and examples don't work.
Anything working here???????????? Any support here??????????????????????
Google scripts don't have any explanations or at least useful comments that explains what does the code.
Only your stupid and useless classification example works, nothing more

gstreamer# python3 detect.py --tracker sort
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
Loading ../models/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite with ../models/coco_labels.txt labels.
Gstreamer pipeline:
v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1 ! tee name=t
t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! videoscale ! video/x-raw,width=300,height=225 ! videobox name=box autocrop=true
! video/x-raw,format=RGB,width=300,height=300 ! appsink name=appsink emit-signals=true max-buffers=1 drop=true
t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert
! rsvgoverlay name=overlay ! videoconvert ! ximagesink sync=false

No protocol specified
Error: gst-resource-error-quark: Could not initialise X output (10): ../sys/ximage/ximagesink.c(867): gst_x_image_sink_xcontext_get (): /GstPipeline:pipeline0/GstXImageSink:ximagesink0:
Could not open display

@Hecto-r
Copy link

Hecto-r commented Nov 24, 2023

For anyone else with the ModuleNotFoundError: No module named 'gi' issue
pip install PyGObject.

@sangyo1
Copy link

sangyo1 commented Mar 21, 2024

For anyone else with the ModuleNotFoundError: No module named 'gi' issue pip install PyGObject.

I have same issue too. I install in raspberry pi I kept getting No module named 'gi'
Also pip install PyGObject is kept getting failed too

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hardware:M.2 Accelerator A+E Coral M.2 Accelerator A+E key issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:bug Bug type:build/install Build and install issues type:docs-bug Document issues type:docs-feature Doc issues for new feature, or clarifications about functionality type:support Support question or issue
Projects
None yet
Development

No branches or pull requests

4 participants