I’m trying to re-install firedrake after switching from macports to home-brew. It seems to install just fine once I removed the paths to other possible python installations. It gives an error when I try to import firedrake into a python program. I try to run this simple test: from firedrake import * And I get this: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/wingate/firedrake/lib/python2.7/site-packages/firedrake/__init__.py", line 3, in <module> import firedrake.petsc as petsc File "/Users/wingate/firedrake/lib/python2.7/site-packages/firedrake/petsc.py", line 5, in <module> petsc4py.init(sys.argv) File "/Users/wingate/firedrake/lib/python2.7/site-packages/petsc4py/__init__.py", line 42, in init PETSc = petsc4py.lib.ImportPETSc(arch) File "/Users/wingate/firedrake/lib/python2.7/site-packages/petsc4py/lib/__init__.py", line 29, in ImportPETSc return Import('petsc4py', 'PETSc', path, arch) File "/Users/wingate/firedrake/lib/python2.7/site-packages/petsc4py/lib/__init__.py", line 64, in Import module = imp.load_module(fullname, fo, fn, stuff) ImportError: dlopen(/Users/wingate/firedrake/lib/python2.7/site-packages/petsc4py/lib/PETSc.so, 2): Library not loaded: /private/var/folders/rw/1wgmdvd50sv7bb1dksy4y_l00000gq/T/pip-DOH6bI-build/arch-python-macosx-10.11-x86_64/lib/libpetsc.3.06.dylib Referenced from: /Users/wingate/firedrake/lib/python2.7/site-packages/petsc4py/lib/PETSc.so Reason: image not found It definitely looks like an issue with petsc, but what it might be I don’t know. Beth Wingate b.wingate@exeter.ac.uk<mailto:b.wingate@exeter.ac.uk> The world is but a canvas to the imagination - Thoreau