Am having the following errors whenever i run codes in the ide after following all instructions to setup ib_insync
John
1.
import ib_insync
print(ib_insync.__all__)
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-473401a31836> in <module>
import ib_insync
print(ib_insync.__all__)
ModuleNotFoundError: No module named 'ib_insync'
from ib_insync import *
util.startLoop()
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-eaa7c0a329d2> in <module>
from ib_insync import *
util.startLoop()
ModuleNotFoundError: No module named 'ib_insync'
The import is failing.
You either didn't install the module correctly, or you are trying to run your script in the wrong environment (make sure the IDE is running your code in the same place you installed the module).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.