Failed Building Wheels for Alpaca API

Hey folks, I’m new to Python and I’m having trouble at one of the first hurdles, actually installing the API.

I’ve tried to install all the other relevant APIs using pip, however when I come to the ‘pip3 install alpaca-trading-api’, I get this:

ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects.

I’ve installed aiohttp itself through pip and that seems to install fine, I’m not sure what’s going wrong. Any suggestions would be appreciated. I’ve tried Googling with no success.

Thanks

having the same issue did you ever figure it out?

Not yet :frowning: will let you know if I find anything

they dont have a support grope helping people out on here or something

I’ve emailed support, so let’s see what they say

have they gotten back to you yet ?

Hey, they said, ‘There’s a few examples of backend services in this repository alpaca-trade-api-python/examples at master · alpacahq/alpaca-trade-api-python · GitHub - maybe you can reference it.’

:confused:

Are you sure you have the correct API?

I may be mistaken, but I think you are looking at a discontinued API. To my understanding, the official API is Alpaca-py

Not that Alpaca provides good support for that anyway. Or for anything, for that matter. The forum is full of unanswered questions

Using the “pip install alpaca-py” works. Also, use this in any bots you are planning on creating. Struggled with this problem for longer than I would have liked to admit.