errors running the first example (d1_p2D.py) in tutorial
After running the first python example "d1_p2D.py" in the directory : examples-
"
*** Warning: UnitSquare has been deprecated in DOLFIN version 1.1.0.
*** The class UnitSquare has been replaced by UnitSquareMesh.
...."
So then I changed "UnitSquare" to "UnitSquareMesh" in the code and it gave me this error message:
"
File "d1_p2D.py", line 15, in <module>
V = FunctionSpace(mesh, 'Lagrange', 1)
File "/Applications/
FunctionSpa
File "/Applications/
ufc_element, ufc_dofmap = jit(self.
File "/Applications/
return local_jit(*args, **kwargs)
File "/Applications/
raise OSError, "Could not find swig installation. Pass an existing "\
OSError: Could not find swig installation. Pass an existing swig binary or install SWIG version 2.0 or higher. "
Can someone help me with this?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Johannes Ring
- Solved:
- Last query:
- Last reply: