alexgolec / tda-api

A TD Ameritrade API client for Python. Includes historical data for equities and ETFs, options chains, streaming order book data, complex order construction, and more.
https://tda-api.readthedocs.io
MIT License
1.26k stars 338 forks source link

import tda not working on M1 chip #261

Closed devangmukherjee closed 3 years ago

devangmukherjee commented 3 years ago

I am trying to run tda-api on M1 mac and when I try import tda it gives me the following error -

ImportError: dlopen(/Users/dev/Library/Python/3.8/lib/python/site-packages/cryptography/hazmat/bindings/_padding.abi3.so, 2): no suitable image found. Did find: /Users/dev/Library/Python/3.8/lib/python/site-packages/cryptography/hazmat/bindings/_padding.abi3.so: mach-o, but wrong architecture /Users/dev/Library/Python/3.8/lib/python/site-packages/cryptography/hazmat/bindings/_padding.abi3.so: mach-o, but wrong architecture

I googled this issue and found that a module called cryptography has not released its binaries for M1 chip, so it gives these errors. But I just wanted to ask if there is a workaround for this or if anyone who successfully been able to run tda-api on M1 chip?

alexgolec commented 3 years ago

Issues are not an appropriate venue for support. Please visit our discord to ask the community for help:

https://discord.gg/nfrd9gh