Quote:
Originally Posted by [GT]Colin
Hello, FPDB Creators.
I am working on OS X 10.10 (Yosemite). According to your installation tutorial (http://fpdb.wikidot.com/install:macosx) I should use Python 2.5. But terminal shows me error message that Yosemite doesn't support version 2.5.
So, I try use 2.7.
Then typed all this commands
sudo port install python27
sudo port install python_select
sudo python select python27
sudo port install py27-gtk
sudo port install py27-matplotlib
sudo port install py27-mysql
Side note: you don't need py27-mysql unless you specifically want to use the mysql database. Fpdb uses an sqlite database by default which is already available.
Quote:
And try to run FPDB
sudo python run_fpdb.py
Side note 2: you don't really want to use sudo with this command.
Quote:
FPDB shows me this error:
What should I do? Does FPDB work with OS X 10.10?
You have a few options. It looks like you downloaded the 0.40.5 release source code?
OPTION 1 - make that release work (HUD will probably be unusable):
Code:
sudo port install py27-beautifulsoup
To install the beautifulsoup dependency. This is used in a couple of tournament summary parsers. Then run fpdb directly like this to skip the check for pylab (which is imported by the tournament graph tab, so you won't be able to use that):
Code:
python pyfpdb/fpdb.pyw
You may need to manually run an X server first, I'm not sure how 10.10 does things:
Code:
sudo port install xorg-xserver
startx
And then tell fpdb to use that X session:
Code:
DISPLAY=":0" python pyfdpb/fpdb.pyw
Hope this helps, let me know if I missed a step and you get stuck, I'll try to sort you out.
OPTION 2: You could download the source for the Qt port I've been working on. This eliminates the need for an X server, and provides you with a working HUD + native-looking GUI. It's here:
https://github.com/philroberts/FPDB-for-OSX/releases
Most of the instructions from above still apply (except the X server stuff), but you need Qt instead of GTK:
Code:
sudo port install py27-pyqt5
And the mac python interface for HUD stuff:
Code:
sudo port install py27-pyobjc-quartz
OPTION 3: You could download the mac binary from the link above and see if it works for you. It should be self-contained, no other software required.