This is my requirements.txt file. I already put snowflake-connector-python in the requirements.txt and it still didn’t work. Please provide any possible solutions!
It’s a bit difficult to diagnose without seeing the code, but are you importing the connector correctly?
The import statement should be:
from snowflake.snowpark import Session
Also, maybe:
Try upgrading to the latest version of the Snowflake connector in case there is a bug with the version you currently have installed (very unlikely, but worth a try!)
As a last resort, try uninstalling the connector fully with pip uninstall snowflake-connector-python and reinstalling it to see if that resolves any issues.
Again, if you could send me the code, I could diagnose more accurately.