mac的M1电脑airtest报错ImportError: Error importing numpy: you should not try to import numpy from

04-08 1459阅读

执行的时候报错:

airtest 报错ImportError: Error importing numpy: you should not try to import numpy from

its source directory; please exit the numpy source tree, and relaunch

your python interpreter from there.

还有报错:ImportError: dlopen(/Users/linjing/Library/Python/3.9/lib/python/site-packages/cv2/cv2.abi3.so, 0x0002): tried: ‘/Users/linjing/Library/Python/3.9/lib/python/site-packages/cv2/cv2.abi3.so’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/System/Volumes/Preboot/Cryptexes/OS/Users/linjing/Library/Python/3.9/lib/python/site-packages/cv2/cv2.abi3.so’ (no such file), ‘/Users/linjing/Library/Python/3.9/lib/python/site-packages/cv2/cv2.abi3.so’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’))

折腾了一早上

最后把自定义的python.exe设置为空就好了

mac的M1电脑airtest报错ImportError: Error importing numpy: you should not try to import numpy from

VPS购买请点击我

文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。

目录[+]