wget -O - https://github.com/OP2/PyOP2/raw/master/install.sh | sudo bash
and at the end of my install log file:
"Successfully installed petsc4py
Cleaning up...
*** Installing PyOP2 ***
Cloning into 'PyOP2'...
Checking connectivity... done
Traceback (most recent call last):
File "setup.py", line 45, in <module>
import petsc4py
ImportError: No module named petsc4py"
Sincerely,
Brian