Recently I installed Mac OS X 10.11. I am involved in the development of scientific applications (mainly in Fortran and C++) and I use MacPorts to install different utilities (GCC compiler, MPI libraries, ...). Immediately after the installation of the new OS, I followed the migration instructions for MacPorts (https://trac.macports.org/wiki/Migration), i.e. I uninstalled all my packages and reinstalled them again with the new OS.
Unfortunately, Python does not seem to work anymore. The first hint is that the terminal is never released, i.e. the function exit() or the combination C+d do not stop the interpreter properly and the terminal is no more usable.
The second (and bigger) problem is that numpy is not found:
>>> import numpy as np
>>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'numpy'
I tried to reinstall numpy using pip (Can I force pip to reinstall the current version?), without success.
I have this computer (MacBook Pro) from many years and I have installed Python many times. This is the result of the auto-completion:
python             python3            python3.4m         python3m
python-config      python3-32         python3.4m-config  python3m-config
python2.6          python3-config     python3.6          pythontex
python2.6-config   python3.4          python3.6-config   pythonw
python2.7          python3.4-32       python3.6m         pythonw2.6
python2.7-config   python3.4-config   python3.6m-config  pythonw2.7
Anyone had a similar problem? Any idea how to get Python work normally?
 
    