ejmg / tomaty

tomaty is a gtk+3 based application for the pomodoro technique 🍅
MIT License
6 stars 1 forks source link

Installation via pip on mac #43

Closed nucle0tides closed 6 years ago

nucle0tides commented 6 years ago

Installation via pip fails when trying to install the pygobject dependency.

nucle0tides commented 6 years ago

running sudo pip3 install tomaty worked but i don't....like that for obvious reasons

nucle0tides commented 6 years ago

To get it running on Mac it also looks like you will have to install several things via Homebrew.

brew install pygobject3
brew install pygtk
brew install gtk+3

You also have to point to where libffi.pc lives

export PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.2.1/lib/pkgconfig/

where 3.2.1 is whatever version of libffi you have installed.

ejmg commented 6 years ago

dependencies aside, if you are getting sudo related errors, try: pip3 install --user tomaty and see if it gives you the same privilege errors?

That part of your issue might be related to your pyenv setup. I got those when they weren't expected and had to mess with my .profile setup.

nucle0tides commented 6 years ago

I might have accidentally installed your package globally with sudo. Press F for respect.

ejmg commented 6 years ago

F

ejmg commented 6 years ago

Thanks for documenting, I'll give an update when I next update the README a la #29