alpacahq / alpaca-trade-api-python

Python client for Alpaca's trade API
https://pypi.org/project/alpaca-trade-api/
Apache License 2.0
1.73k stars 534 forks source link

[Bug]:can't install alpaca-trade-api-python #664

Closed ghost closed 1 year ago

ghost commented 1 year ago

Is there an existing issue for this?

Current Behavior

when i try pip3 install alpaca-trade-api it shows

      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for yarl
Failed to build aiohttp frozenlist multidict yarl
ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects 

Expected Behavior

can install alpaca trade api python

SDK Version I encountered this issue in

-

Steps To Reproduce

pip install alpaca-py
pip install pandas numpy scipy
pip3 install alpaca-trade-api
install https://visualstudio.microsoft.com/visual-cpp-build-tools/

Filled out the Steps to Reproduce section?

Anything else?

No response

sshcli commented 1 year ago

Try with Python 3.9 instead of 3.10