I have managed to set up the python interpreter of my pydev installation to the one in my virtualenv folder following this steps:
Yei! everything works nice! but... When I use any library installed via pip, my eclipse shows an error mark in the editor, its very annoying because everything works fine!
I'm thinking of not using PyDev just because of this little detail... Does anyone know a way to solve this?
it seems that you installed pydev with wrong version. remember check your java version(by typing java -version in console). if it says 1.6. X, then you should NOT check "Show only the latest versions of available softerware" option in the first popup window after "Help->Install New Software" clicked.
Go to the menu: Alt + R + S + The number of the Run you wish (It can be Python, Jython, unit-test, etc). Note: if you were using unit-tests, you could use: Ctrl+F9 to run the unit-tests from the module (and even selecting which tests should be run -- and if Shift is pressed it's launched in debug mode).
There's a little tutorial explaining about it at:
http://pydev.blogspot.com.br/2010/04/pydev-and-virtualenv.html
I believe your problem is explained there... (i.e.: after installing something you must restore your interpreter info).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With