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

swig version

+2 votes

Hi, I just downloaded Fenics 1.3.0 on my ubuntu 13.10, and every time I try to run my code I get the following error "Incompatible swig versions detected. UFC swig version is not the same as extension module swig version: '2.0.10' != '2.0.8' "

asked Feb 7, 2014 by dndash FEniCS Novice (330 points)

1 Answer

+4 votes

Try instant clean.

answered Feb 7, 2014 by johanhake FEniCS Expert (22,480 points)

Thank you very much! Running instant-clean in command line worked for me.

I also works for me.

I upgraded ubuntu from 12.04 to 14.04 and have the similar problem of swig version conflict.

In ubuntu, the command is:

instant-clean

Hi,

I have the same problem. But instant-clean didn't solve it. If I start my program (or any other fenics programm) I just get
Calling FFC just-in-time (JIT) compiler, this may take some time.
Incompatible swig versions detected. UFC swig version is not the same as extension module swig version: '2.0.4' != '2.0.11'

What can I do?

...