Cant import module

This is my code and when i run it it says

ModuleNotFoundError: No module named ‘alpaca_trade_api’

import alpaca_trade_api as tradeapi

alpaca_endpoint = "https://paper-api.alpaca.markets"
 
api = tradeapi.REST("key,key2",alpaca_endpoint)

account = api.get_account()

@Nick_to_quick Ensure you first install the package (ie move the package from the github repository to your machine). This is typically done using pip (but there are other methods too). Something like this

!pip install -q alpaca-trade-api

Maybe that’s the issue?