You are correct! My first approach was to install matplotlib in a virtualenv and that seemed to work but not in my local non-ve environment - I would get an error referencing a TK library in /System/Library that didn't exist. This is what now works locally, although I did not encounter the NavigationTool2QTAgg rename issue you mentioned above...brusk wrote: Cool, I didn't have that problem though. My problem was that NavigationToolbar2QTAgg is renamed to NavigationToolbar2Q in the latest matplotlib. Don't you get an error if you
in FreeCAD's Python Console?Code: Select all
import Plot Plot.figure("TrigonometricTest")
Code: Select all
pip install --install-option="--prefix=$(brew --prefix)" matplotlib==1.4.3
Code: Select all
mkdir src && cd src
git clone https://github.com/Heeks/libarea.git
cd libarea
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$(brew --prefix)/usr/ -DPYTHON_DIR=$(python-config --exec-prefix)/bin/ ../
make install
I have modified @peterl94's travis-ci configuration file to install the proper matplotlib and also build libarea as described above but now we are fighting with a reference to a /usr/local/lib/libspatialite.5.dylib by one of the compiled objects that causes a failure when trying to make the application bundle relocatable.
Here are the specs for my latest "local" build.
Code: Select all
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6053 (Git)
Build type: Debug
Branch: master
Hash: acf3b3471135cb882ea47deda7b0b3650552826f
Python version: 2.7.11
Qt version: 4.8.7
Coin version: 3.1.3
Cheers,
Bruce