pragyanbo
pragyanbo10mo ago

Python's Pandas is acting weird although it was fine before

My scripts were working properly before. However, today, I started seeing the pandas module acting strange. In some random cases, the module isn't found at all and in almost all cases, its functions are not available. Have attached a sample screenshot for the same. I checked my wmill instance for any files named pandas.py as well as functions that maybe overriding the package. Even a new script with no imports (other than pandas) still behaves weirdly. Any suggestions on how to go about debugging this? P.S. I also checked a local version by using wmill sync pull but no files/functions named pandas there as well.
No description
2 Replies
rubenf
rubenf10mo ago
can you try forcing an arbitrary version of pandas with #extra_requirements ? most likely the download a version got corrupted and you have a partial version of the deps you can investigate by going to your cache folder in your container
pragyanbo
pragyanbo10mo ago
#extra_requirements solved the issue. Thank you!