I have several scripts that use the pandas module that have been working fine in Rhino 8 thus far. I recently updated to 8.31.26126.13431 and started getting the locale error for “en-US”. I applied the fix as described in previous posts but am now getting a new error. My import snippet and error are here:
# r: pandas, numpy, openpyxl
import os
from inspect import getsourcefile
from os.path import abspath
import datetime
import scriptcontext
import rhinoscriptsyntax as rs
import locale
locale.setlocale(locale.LC_ALL,'en_US.UTF-8')
import pandas as pd
import numpy
AttributeError: partially initialized module 'pandas' has no attribute '_pandas_datetime_CAPI' (most likely due to a circular import)