雪花云数据平台在窗口中安装SnowSQL的错误



我尝试从安装程序安装SnowSQL,就像从Web界面一样。安装程序运行,但当我尝试在命令提示符下运行命令时,它会给我以下错误。

C:Usersrahul.sharma>snowsql
Traceback (most recent call last):
File "libsite-packagesPyInstallerloaderrthookspyi_rth_pkgres.py", line 11, in <module>
File "c:windowstempsnowsqllibsite-packagesPyInstallerloaderpyimod03_importers.py", line 627, in exec_module
File "libsite-packagespkg_resources__init__.py", line 86, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
[15764] Failed to execute script pyi_rth_pkgres

我也尝试卸载并重新安装,但它仍然给了我同样的错误。有人可以协助吗?

从应用程序内部下载 Snowsql 似乎存在问题(通过"帮助"菜单(,因此现在的解决方法是直接从存储库手动下载以前的版本:

对于 AWS 平台账户:

Download the Snowsql 1.2.1 for Linux:  
https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/1.2/linux_x86_64/snowsql-1.2.1-linux_x86_64.bash
Download the Snowsql 1.2.1 for MacOS:  
https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/1.2/darwin_x86_64/snowsql-1.2.1-darwin_x86_64.pkg
Download the Snowsql 1.2.1 for Windows:  
https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/1.2/windows_x86_64/snowsql-1.2.1-windows_x86_64.msi

对于 Azure 平台帐户:

Download the Snowsql 1.2.1 for Linux:  
https://sfc-repo.azure.snowflakecomputing.com/snowsql/bootstrap/1.2/linux_x86_64/snowsql-1.2.2-linux_x86_64.bash
Download the Snowsql 1.2.1 for MacOS:  
https://sfc-repo.azure.snowflakecomputing.com/snowsql/bootstrap/1.2/darwin_x86_64/snowsql-1.2.1-darwin_x86_64.pkg
Download the Snowsql 1.2.1 for Windows:  
https://sfc-repo.azure.snowflakecomputing.com/snowsql/bootstrap/1.2/windows_x86_64/snowsql-1.2.1-windows_x86_64.msi

最新更新