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