Hello,
I am trying to connect to looker APIs through Jupyter Notebook and python with the following code:
import looker_sdk
sdk = looker_sdk.init40()
But I receive a SDK Error saying that “Missing required configuration value: base_url”
Anyone has an idea how to solve this?
Solved! Go to Solution.
Hi @mehrnaz_akbari- , you would need to authenticate using an `ini` file or use environment variables. From reading the error, it seems that neither has been set up yet.
You can take a look at one of my example jupyter notebooks here to see how to use environment variables https://github.com/lanlooker/Looker-Tutorials/blob/main/06_Kill_Running_Queries.ipynb
Hi @mehrnaz_akbari- , you would need to authenticate using an `ini` file or use environment variables. From reading the error, it seems that neither has been set up yet.
You can take a look at one of my example jupyter notebooks here to see how to use environment variables https://github.com/lanlooker/Looker-Tutorials/blob/main/06_Kill_Running_Queries.ipynb
Thanks @lantrann. I used your github link and it helped to solve the error