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.
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.