Open bingxueai123456 opened 2 years ago
换3.8的python试试?
OK
好像也不行。 cannot import name 'COMError' from '_ctypes' (/Users/eclair_farron/.conda/envs/helloworld/lib/python3.8/lib-dynload/_ctypes.cpython-38-darwin.so
ImportError: cannot import name 'COMError' from '_ctypes' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/lib-dynload/_ctypes.cpython-310-darwin.so)
很不幸,comtypes是为windows而不是linux设计的。
ImportError: cannot import name 'COMError' from '_ctypes' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/lib-dynload/_ctypes.cpython-310-darwin.so)