I am trying to install IBPY and Python on my Mac to run with Interactive Brokers. I have installed the guitar, I created a subdirectory ibapi under Home I downloaded an IBP using Ipapi directory from git clone https://github.com/blampe/IbPy
I am now trying to run a Demo.py program in Spyder. When I select Run, I get an error message:
ImportError: IB. There are no modules named
The first few lines of the demo program are:
import os import sys import time import eb. I am trying to run a sample program: ib_api_demo When I try to run it, I get an error message: / P> importError: A module ib.ext.Contract
The first few lines are: import from ib.ext.Order import command from Iib.ext.Contract Import Agreement Ib.opt import connection, message
div class = "post-text" itemprop = "text"> me It's got to know The problem was that I was launching Spider with my Mac Finder. When I did this, I got an error message. When I launched Spider (actually Anaconda Python) by typing "Spider" in the terminal window, Anaconda Python was launched from here, I could successfully run all my programs without any errors.
Comments
Post a Comment