Could not execute query, because the Python bridge has not been initalized. If the issue persists, please open a Github issue.
See original GitHub issueExpected behavior
A query is able to be run, or a model is able to be generated when clicking the “Generate model” button in a .yml file.
Actual behavior
The following error occurs, even after following all setup instructions, including having the correct python interpreter installed, and being able to run dbt commands within the virtualenv.
Could not execute query, because the Python bridge has not been initalized. If the issue persists, please open a Github issue.
Steps To Reproduce
- Install dbt Power User extension within a dbt environment on MacOS.
- Create a python virtual environment (In my case, I am using
poetry
) - Install dbt using
poetry
. - Select the Python interpreter to use your newly created venv
- Attempt to “Generate model” from .yml file or run a SQL script
Log output/Screenshots
Operating System
Mac OS Monterry
dbt version
1.3.1
dbt Adapter
bigquery 1.3.0
dbt Power User version
0.10.1
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Issue Analytics
- State:
- Created 10 months ago
- Comments:23 (10 by maintainers)
Top Results From Across the Web
Issues · innoverio/vscode-dbt-power-user
Could not execute query, because the Python bridge has not been initalized. If the issue persists, please open a Github issue. bug Something...
Read more >"DBT is not installed" - issue that may come up for users ...
Hi, For some reason, my VS Code bar is saying "dbt is not installed" in my terminal due to the dbt power user...
Read more >Error requesting from the bridge · Issue #350
Problem only with the hue group node. It feels like the HUE Bridge is not coping properly with the id for the v1....
Read more >"Upgrade button" fails · Issue #105 · innoverio/vscode-dbt ...
Clicking the "Upgrade" button that dbt power user presents when it detects an ... python setup.py egg_info did not run successfully.
Read more >[Bug] Hydra resolver does not work in compose_api #2017
Bug Description hydra:key substitution does not work in interactive Python session and Jupyter notebook. hydra.key does, but it is not ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I wasn’t aware about that change in dbt core. That is probably the reason. I’ll do a fix tomorrow.
I’m still seeing this, and I’m on v0.10.3. I no longer see the generate models option, and get this error when hitting “cmd” + “enter”