This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Import dolfin failed from the binary package for FEniCS 1.3.0

0 votes

Dear all

I have installed a binary package for FEniCS 1.3.0 and anaconda packages( python2.7, umpy
, scipy and mathplotlib.
I run mac osx Maveriks 10.9. When i tried to import dolfin, i get the following error
import dolfin
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6

Thank you for your help

closed with the note: Please direct installation support questions to fenics-support@fenicsproject.org.
asked Apr 5, 2014 by meftahi FEniCS Novice (300 points)
closed Apr 7, 2014 by Garth N. Wells

you installed from macport?

1 Answer

0 votes

Two things usually help here:
1) check that the Python distributed by Apple is selected (sudo port select python python27-apple). If you have a custom-build, e.g., against Python from MacPorts, then select this version, but always make sure you use the right Python version.
2) clean the cache using instant-clean. This works often when you upgrade FEniCS and still have some things in cache that produce problems. Your error however indicates that you most likely mixed up different versions of Python.

If both hints do not help, then specify the source for the binary package you installed. There is an officially maintained version of FEniCS 1.3.0 for Mavericks on fenicsproject.org which worked for me and another colleague.

answered Apr 6, 2014 by Christian Waluga FEniCS Expert (12,310 points)

can you tell me your python path binary?

...