Unable to build alpaca_trade_api

I am a noob attempting historical data access using python.
py -m pip install alpaca_trade_api
fails at

_websocket.obj
      _websocket.c
      aiohttp/_websocket.c(198): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory
1 Like

Hey, were you able to fix it? I have the same issue.

same: https://github.com/aio-libs/aiohttp/issues/6600

still lost on this…

installed 3.10.11 didn’t work

installed 3.10.08 recommended by pip install fails for python 3.11 · Issue #7051 · aio-libs/aiohttp · GitHub, didn’t work

maybe try running command prompt as admin when you do your pip install, seems to have moved further