Attribute Errors

Hi,
I am getting the following errors when trying to launch my algorithm in paper trading:
First this error shows:
AttributeError: module ‘alpaca_trade_api’ has no attribute ‘StreamConn’

Then this error shows:
AttributeError: ‘REST’ object has no attribute ‘get_barset’

Can someone please assits me in terms of what is going wrong?

For additional context in my config.yaml file I have commented out the following:
#feed: iex
because everytime I leave it in I get the following error:
TypeError: init() got an unexpected keyword argument ‘feed’

but when it is commented out I get the two errors mentioned above.
Can someone please assist?
Thanks!

@lcwarrin It almost seems like you aren’t installing the correct alpaca-trade-api SDK. What code are you using? It should be something like this

!pip install -q alpaca-trade-api

Let’s start there with debugging the issue.