0
votes

I'm unable to run my code in Eclipse pyDev. I get these red stars on my 'src' project folder as you can see in this screenshot.

And here is the error output when I import the project:

ImportError: No module named framework.api_driver.driver

Any idea why? I've already set up my path variable to point to C:\python27 and also added another PYTHON var to point to C:\Python27\Lib\site-packages even though the site-packages dir is empty.

Can anyone help?!

1
Where is framework.api_driver.driver installed if site-packages is empty? - M4rtini
You would have to add that folder to sys.path. - M4rtini
Thanks M4rtini, how do I do that; should I copy that folder to the PATH var under environment variables? - Pelican
I also updated the screenshot to show you where I think the driver is; please help me out w/ this. I won't take much of your time, please. - Pelican

1 Answers

0
votes
import sys
sys.path.append(r"path to notematic_test") 

The import should now work.