snowflakedb / snowflake-ml-python

Apache License 2.0
39 stars 9 forks source link

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

Closed albertsuzx closed 11 months ago

albertsuzx commented 11 months 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 11 months ago

This is fixed in 1.0.10 release

sfc-gh-pdorairaj commented 11 months ago

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