You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install requirement.txt and having trouble with alpaca_trade_api==2.3.0.
I see error when building aiohttp
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/site-packages (from requests<3.0.0,>=2.27.1->alpaca-py==0.7.1->-r requirements.txt (line 1)) (2023.5.7)
Building wheels for collected packages: aiohttp
Building wheel for aiohttp (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for aiohttp (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [107 lines of output]
.......................................
building 'aiohttp._websocket' extension
creating build/temp.macosx-12-x86_64-cpython-311
creating build/temp.macosx-12-x86_64-cpython-311/aiohttp
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/usr/local/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c aiohttp/_websocket.c -o build/temp.macosx-12-x86_64-cpython-311/aiohttp/_websocket.o
aiohttp/_websocket.c:198:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for aiohttp
Failed to build aiohttp
ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects
I am installing on MAC. Have you come across this issue before?
Thanks,
Mahendra
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to install requirement.txt and having trouble with
alpaca_trade_api==2.3.0
.I see error when building
aiohttp
.......................................
I am installing on MAC. Have you come across this issue before?
Thanks,
Mahendra
The text was updated successfully, but these errors were encountered: