我有同样的错误消息,我使用绝对路径解决了。
import osbasePath = os.path.dirname(os.path.abspath(__file__))df = pandas.read_json(basePath + '/ut1.json', orient = 'records', dtype={"A":str, "B":list})那对我有用!

我有同样的错误消息,我使用绝对路径解决了。
import osbasePath = os.path.dirname(os.path.abspath(__file__))df = pandas.read_json(basePath + '/ut1.json', orient = 'records', dtype={"A":str, "B":list})那对我有用!