No module named 'alpaca_trade_api'

Obviously the first issue with alpaca. Using a pip(3) list command I have confirmation that it is installed and that …\ does exist. I have tried installing the alpaca_trade_api-fixed module to no effect. I am running Python 3.10. Does anyone have any suggestions?

Had the same problem when I first started using Alpaca.

It is probably the case that the Alpaca API is not being installed into your virtual environment.
It’s usually an easy fix, you just have to change the interpreter path to the directory to which pip is installing.

You can find the path to the interpreter by typing into the terminal/command prompt the following:

pip show alpaca-trade-api

The path to the installed interpreter should be under “location.”

Thank you for the swift response! That did the trick! Just had to manually copy the Python packages into the coda packages site.

1 Like

That certainly will do the trick as well! I’m glad to hear it helped.