google-coral / project-bodypix

BodyPix model demo application for Google Coral
Apache License 2.0
275 stars 52 forks source link

No module named 'gi' #21

Closed yangwenbing2 closed 3 years ago

yangwenbing2 commented 3 years ago

when i run the base demo (using the MobileNet v1 backbone with 640x480 input) : python3 bodypix.py i got an error : No module named 'gi'

but i can't install 'gi' package by "pip install gi", i want to know what is the module "gi"

my enviroment:

fablau commented 3 years ago

If you are not using a virtual environment, try this:

install PyGObject

If instead you are using something pipenv:

pipenv install PyGObject

I hope this helps!

manoj7410 commented 3 years ago

@InnocentYang1 Were you able to fix this issue ?

Eby-123 commented 3 years ago

I solve this problem by "sudo apt-get install libgirepository1.0-dev"