-
Notifications
You must be signed in to change notification settings - Fork 169
Description
- What version of Python are you using (
python --version)?
Tried 3.6.7 and 3.7.1
- What operating system and processor architecture are you using (
python -c 'import platform; print(platform.platform())')?
Building distribution on Linux-4.15.0-1035-aws-x86_64-with-Ubuntu-18.04-bionic,
Running on AWS Lambda (Linux-4.14.133-88.105.amzn1.x86_64-x86_64-with-glibc2.2.5)
- What are the component versions in the environment (
pip list)?
Package Version
asn1crypto 0.24.0
azure-common 1.1.23
azure-storage-blob 2.1.0
azure-storage-common 2.1.0
boto3 1.9.210
botocore 1.12.210
certifi 2019.6.16
cffi 1.12.3
chardet 3.0.4
Click 7.0
cryptography 2.7
docutils 0.15.2
fsspec 0.4.1
future 0.17.1
idna 2.8
ijson 2.4
jmespath 0.9.4
numpy 1.17.0
pandas 0.25.0
pip 19.2.2
pycparser 2.19
pycryptodomex 3.8.2
PyJWT 1.7.1
pyOpenSSL 19.0.0
python-dateutil 2.8.0
python-lambda 3.2.6
pytz 2019.2
PyYAML 5.1.2
requests 2.22.0
s3fs 0.3.3
s3transfer 0.2.1
setuptools 41.1.0
six 1.12.0
snowflake-connector-python 1.8.7
snowflake-sqlalchemy 1.1.14
SQLAlchemy 1.3.7
urllib3 1.25.3
wheel 0.33.6
- What did you do?
import pandas as pd
from sqlalchemy import create_engine
db_string = "snowflake://{}:{}@{}/{}/{}?warehouse={}?role={}".format(
user, password, account, db, schema, warehouse, role
)
engine = create_engine(db_string)
conn = engine.connect()
-
What did you expect to see?
I expect to see no errors with a successful connection. I then pass theconnobject to apd.to_sql()method. -
What did you see instead?
No module named 'snowflake.sqlalchemy'
- Can you set logging to DEBUG and collect the logs?