Sqlalchemy.exc.nosuchmoduleerror: Can't Load Plugin: Sqlalchemy.dialects:bigquery
Trying to create a bigquery connector using sqlalchemy from sqlalchemy import create_engine engine = create_engine('bigquery:///',
Solution 1:
Your error is generally related to the lack of some required module to use SQLAlchemy.
Therefore, after going though the documentation, I found out that you should install the requirements in you environment using:
pip3 install pybigquery
In addition, within your script you should import the following modules:
SQLAchemy
from sqlalchemy import * from sqlalchemy.engine import create_engine from sqlalchemy.schema import *
API Client
from pybigquery.api import ApiClient
Afterwards, you should have all the necessary packages to execute your code.
If you have any more question about using the SQLAlchemy and API client for BigQuery, you can consult the provided documentation above or I would also be glad to help.
Post a Comment for "Sqlalchemy.exc.nosuchmoduleerror: Can't Load Plugin: Sqlalchemy.dialects:bigquery"