snowflake-data-warehouse

Py2exe Error: Namespace packages not yet supported : Skipping package 'snowflake'

末鹿安然 提交于 2019-12-11 01:33:23
问题 I have been trying to generate an .exe for the following script using py2exe : import snowflake.connector import os import sys # Setting your account information ACCOUNT = '########' USER = '#######' PASSWORD = '#######' ROLES=[] DATABASE=[] ROLES.append(sys.argv[1]) DATABASE.append(sys.argv[2]) print(ROLES) print(DATABASE) cnx = snowflake.connector.connect( user=USER, password=PASSWORD, account=ACCOUNT, ) cur = cnx.cursor() list_of_grants=[] for rl in ROLES: print("Role: "+rl ) db_res=cur

Installing Snowflake JDBC driver

妖精的绣舞 提交于 2019-12-11 00:55:14
问题 I am trying to install Snowflake JDBC driver according to instructions. I have downloaded and installed Java from here, then downloaded snowflake-jdbc-3.6.9.jar file from here. When I double-click the file, nothing happens. So I opened CMD and tried this: java -jar snowflake-jdbc-3.6.9.jar I received *no main manifest attribute, in snowflake-jdbc-3.6.9.jar* . When I open META-INF\MANIFEST.MF file, I do see: *Manifest-Version: 1.0* *Main-Class: net.snowflake.client.jdbc.SnowflakeDriver* I have