简体   繁体   English

获取 ModuleNotFoundError: No module named 'snowflake', while using Python to load data

[英]Getting ModuleNotFoundError: No module named 'snowflake', while using Python to load data

I have installed all the connectors.我已经安装了所有的连接器。 While installing python I have checked on "add path in environment variable" While running PIP list from cmd, I see the snowflake connector (snowflake-connector-python 2.3.7 snowflake-sqlalchemy 1.2.4).在安装 python 时,我检查了“在环境变量中添加路径”在运行 cmd 中的 PIP 列表时,我看到了雪花连接器 (snowflake-snowflake-snowflake-connector.sqlalpython 2.1)。

Pip list output snowflake 0.0.3 snowflake-connector-python 2.3.7 snowflake-sqlalchemy 1.2.4 SQLAlchemy 1.3.22 Pip 列表 output 雪花 0.0.3 雪花-连接器-python 2.3.7 雪花-sqlalchemy 1.2.4 ZD233B99A3CCB7F268B2279D22791.328

Thanks for help.感谢帮助。

You need to do你需要做

import snowflake.connector

on top to make the module recognized.在顶部以使模块被识别。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM