microelly2 / Animation

Animation Workbench for FreeCAD
GNU General Public License v2.0
33 stars 17 forks source link

No module named matplotlib #27

Open pauledd opened 6 years ago

pauledd commented 6 years ago

Hi I use FreeCAD-0.16.6712.glibc2.17-x86_64.AppImage with gentoo. I have git cloned this repo to ~/.FreeCAD/Mod/ Freecad shows this error message:

During initialization the error No module named matplotlib occurred in /home/paul/.FreeCAD/Mod/Animation/InitGui.py

I have installed matplotlib- 1.4.3:

>>> import matplotlib as plt
>>> plt.__version__
'1.4.3'

default install location is:

>>> plt.__file__
'/usr/lib64/python2.7/site-packages/matplotlib/__init__.pyc'

any ideas anyone?

pauledd commented 6 years ago

Ok, I found that the python version in the freecad console differs (Python 2.7.6) from my system version (Python 2.7.14). Is it possible that the problem is the freecad AppImage that runs another version of python?

pauledd commented 6 years ago

So I compiled the same freecad version natively under gentoo and the result is the same: During initialization the error No module named matplotlib occurred in /home/paul/.FreeCAD/Mod/Animation/InitGui.py I am out of ideas, I will give the freecad forum a try...