google-coral / project-bodypix

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

OSX install script #6

Closed ojczeo closed 3 years ago

ojczeo commented 4 years ago

Hello, have anybody tried to run this project on OSX? As far as I can see it uses libraries that are available on Mac Os, but unfortunately, I can't go through the installation, I've tried to modify install_requirements.sh to meet OSX, but without success.

Namburger commented 4 years ago

@ojczeo what exact issue do you have? I believe that it is possible, but the gstreamer pipeline were written specifically for generic linux and highly optimized for the dev board. I may be able to help if I can get more info on the failures

ojczeo commented 4 years ago

this is my script:

echo "Installing DevBoard specific dependencies"
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p $HOME/miniconda
brew install python3-pip python3-scipy 
# brew install pygobject3
conda install -c pkgw-forge gtk3
sudo pip3 install svgwrite
sudo pip3 install python-periphery 

The error I've get after running: python3 bodypix.py

Traceback (most recent call last):
  File "bodypix.py", line 28, in <module>
    import gstreamer
  File "/Users/andrzej/projekty/google-project-bodypix/gstreamer.py", line 20, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'
Namburger commented 4 years ago

@ojczeo Ahh, I see, this is a pure installation problem. Basically, our installation script assumes that you are running in a linux machine with apt package manager. I don't have a MAC to test, but it seems that

ModuleNotFoundError: No module named 'gi'

is a generic python module issue. You may find some better info here?

manoj7410 commented 3 years ago

@ojczeo Is this issue still reproducible ?

manoj7410 commented 3 years ago

Closing this due to lack of activity. Feel free to reopen if this is still reproducible.