snowflakedb / snowflake-ml-python

Apache License 2.0
43 stars 12 forks source link

can't import snowflake.ml.modeling.compose in windows 11 and python 3.9 #60

Closed albertsuzx closed 1 year ago

albertsuzx commented 1 year ago

I have followed the instruction to set up the environment but cannot import the following modules from snowflake-ml-python.

snowflake.ml.modeling.compose
snowflake.ml.modeling.preprocessing
snowflake.ml.modeling.linear_model
snowflake.ml.modeling.model_selection

I have got the error message below. And it looks like a issue with windows decoder cannot handle the internal code when I try to import the module itself.

SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0x92 in position 5415: invalid start byte (column_transformer.py, line 246)
...
sfc-gh-pdorairaj commented 1 year ago

This is fixed in 1.0.10 release

sfc-gh-pdorairaj commented 1 year ago

I am closing it, pls reopen if it is still unresolved for you.