I installed win32api and can import and make calls to it from the command line but the same import isn’t found when written in Eclipse (using PyDev). The cwd and path match from cmd line to PyDev (sys.path and os.getwd()). What could cause the discrepancy?
Share
You most likely need to go into the Interpreter Settings and refresh the Include Paths. Choose Window > Preferences. Expand PyDev, click on Interpreter – Python. Choose your Interpreter, then hit the Apply button. If you haven’t made any other changes it’ll rescan the site-packages directory looking for new modules. If it doesn’t automatically find these two, add them yourself:
With those two directories on in its Path it should see the win32api module correctly.