areed1192 / td-ameritrade-api

The unofficial Python API client library for TD Ameritrade. This library allows for easy access of the Standard REST API and Streaming API.
MIT License
123 stars 36 forks source link

start up issue #11

Open AndyVall opened 2 years ago

AndyVall commented 2 years ago

File "/home/andy/Documents/python_algorithm/tdameritrade4.py", line 30, in td_client=tdameritrade.get_login()

File "/home/andy/Documents/python_algorithm/tdameritrade.py", line 39, in get_login td_client = TdAmeritradeClient(credentials=td_credentials)

File "/home/andy/anaconda3/lib/python3.8/site-packages/td/client.py", line 36, in init self.td_session = TdAmeritradeSession(td_client=self)

File "/home/andy/anaconda3/lib/python3.8/site-packages/td/session.py", line 43, in init logging.basicConfig(

File "/home/andy/anaconda3/lib/python3.8/logging/init.py", line 2005, in basicConfig raise ValueError('Unrecognised argument(s): %s' % keys)

ValueError: Unrecognised argument(s): encoding

The next will execute fine. On start up, I found this error both times I tried running the code. I am pretty sure I have all the dependencies.

monsieur40a commented 2 years ago

I believe he just merged a change into master that someone did a PR for that fixes this.