Closed me1029134 closed 9 months ago
Installed tiingo in Virtual Enviroment, using VS Code. "pip install tiingo" Trying to run the simple example below. Brakes on first line.
Trying to run first example
Ran only the from / import statement. Getting Error "Exception has occurred: ImportError cannot import name 'TiingoClient' from 'tiingo' "
CODE: " from tiingo import TiingoClient " Outputs: "{'message': 'You successfully sent a request'} [{'date': '2023-06-30', 'year': 2023, 'quarter': 4, 'statementData': {'balanceSheet': [{'dataCode': 'totalLiabilities', 'value': 205753000000.0}, {'dataCode': 'acctPay', 'value': 18095000000.0}, {'dataCode': 'liabilitiesCurrent', 'value': 104149000000.0}, {'dataCode': 'intangibles', 'value':"...............
I tried pip uninstalling tiingo and creating a new folder with new venv with no luck yet.
Thanks in Advance. I'm sure it's something I did wrong.
Nevermind, I had another file in the same folder named "tiingo.py". That was the problem.
Description
Installed tiingo in Virtual Enviroment, using VS Code. "pip install tiingo" Trying to run the simple example below. Brakes on first line.
Trying to run first example
What I Did
Ran only the from / import statement. Getting Error "Exception has occurred: ImportError cannot import name 'TiingoClient' from 'tiingo' "
I tried pip uninstalling tiingo and creating a new folder with new venv with no luck yet.
Thanks in Advance. I'm sure it's something I did wrong.