I am using Ubuntu 10.04 and have successfully configured PyDev to work with Python and have written a few simple example projects. Now I am trying to incorporate numpy and matpl
I added numpy to the Forced Builtins and worked like charm.
Sounds like the interpreter you setup for Pydev is not pointing to the appropriate version of python (that you've install mpl and np). In the terminal, it's likely the effect of typing python
is tantamount to env python
; pydev might not be using this interpreter.
But, if the pydev interpreter is pointed to the right location, you might simply have to rehash the interpreter (basically, set it up again) to have mpl show up.
You could try this in the terminal and see if the results are different:
python -c 'import platform; print platform.python_version()'
${PYTHONPATH}/python -c 'import platform; print platform.python_version()'
Right click your project, then go to properties, then click PyDev - Interpreter/Grammar, click "Click here to configure an interpreter not listed". Then select the interpreter you are using, click Install/Uninstall with pip, then enter matplotlib for . Then restart Eclipse and it should work.