PyOfficeRobot icon indicating copy to clipboard operation
PyOfficeRobot copied to clipboard

m1版的mac是不是不行?我看找不到一个so

Open bingxueai123456 opened this issue 3 years ago • 4 comments

ImportError: cannot import name 'COMError' from '_ctypes' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/lib-dynload/_ctypes.cpython-310-darwin.so)

bingxueai123456 avatar Sep 19 '22 06:09 bingxueai123456

换3.8的python试试?

CoderWanFeng avatar Sep 19 '22 06:09 CoderWanFeng

OK

bingxueai123456 avatar Sep 19 '22 06:09 bingxueai123456

好像也不行。 cannot import name 'COMError' from '_ctypes' (/Users/eclair_farron/.conda/envs/helloworld/lib/python3.8/lib-dynload/_ctypes.cpython-38-darwin.so

bingxueai123456 avatar Sep 19 '22 06:09 bingxueai123456

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设计的。

zhangxuehao avatar Jan 31 '23 09:01 zhangxuehao