Open dsc03 opened 6 years ago
My apologies, I have to re-build the ReadTheDocs project. The current import looks like:
from pyavatax import api as pyavatax_api
api = pyavatax_api.API(YOUR_AVALARA_ACCOUNT_NUMBER, YOUR_AVALARA_LICENSE_KEY, YOUR_AVALARA_COMPANY_CODE, live=False)
That said, we will be sun-setting our library because Avalara have released their own that they will be supporting and keeping up to date: https://github.com/avadev/AvaTax-Calc-REST-Python
Feel free to use this project if you like, but we won't be committing to supporting it very much longer. Thank you!
That said, we will be sun-setting our library because Avalara have released their own that they will be supporting and keeping up to date: https://github.com/avadev/AvaTax-Calc-REST-Python
I find that statement strange since, as of Nov 2018, the official Avatax API's documentation still links to this library. Furthermore the repo you link to hasn't seen any commits for four years. Has Avalara officially announced this anywhere?
edit: the repo you linked to is not actually a library; it's a bunch of code samples that use base Python libraries only.
I believe the correct link is https://pypi.org/project/Avalara/
Blog post: https://developer.avalara.com/blog/2018/04/19/introducing-the-new-python-sdk/
Hi there,
Hope you're well. I'm trying to use pyavatax. I install it using
pip install pyavatax
. I'm using Python 2.7 and I've upgraded to the most recent version of pyavatax available. I'm trying to execute a script and I'm continuously getting the following issue:AttributeError: 'module' object has no attribute 'API'
I'm not sure what the issue is, and I've tried uninstalling and reinstalling multiple times. There is nothing strange about my code, as I literally copy pasted the docs and added my own company specific info:
Do you have any idea why this is happening? Would be immensely appreciated, thanks.