PDA

View Full Version : Eclipse pythonpath mystery



Hendrixski
December 11th, 2010, 12:09 AM
I'm hoping that maybe someone here can point out what's wrong. I'm using a virtual environment with python 2.6, and all of the imports thus far seemed to work just fine in Eclipse (though, I've only really imported stuff from Django libs) now when I try to import random, and string it says it's not in the python path.

The code runs just fine, even runs unit tests from within Eclipse. The import error is in the picture with the code (also the highlighted part is where I'm using string and random) then the python path is in the other picture. Any help is welcome.