windows - ModuleError on bat file running python script -
i having trouble running python script windows scheduler, looking schedule bat file runs script outputs log file.
however, bat file gives me modulenotfounderror: no module named ibapi
. ibapi
module folder contained in c:\tws api\source\pythonclient
. tried below bat code, doesn't work. how rid of modulenotfounderror
?
setlocal set pythonpath="c:\tws api\source\pythonclient" set pythonpath="c:\tws api\samples\python\pead" c:\users\myusername\appdata\local\programs\python\python36-32\python.exe "c:\tws api\samples\python\pead\livescraper.py" %* endlocal
Comments
Post a Comment