目录
2、问题可能与thriftpy库有关。可能是因为thriftpy库与使用的Python版本不兼容导致的。
更新thriftpy库:运行以下命令以更新thriftpy库:
下载pytest
1、找到正确的解释器路径
C:\Users\Administrator>python
Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print(sys.executable)
D:\python3.11.3\python.exe