執(zhí)行的時候報錯:
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 ‘a(chǎn)rm64’, 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 ‘a(chǎn)rm64’, need ‘x86_64’))文章來源:http://www.zghlxwxcb.cn/news/detail-847784.html
折騰了一早上
最后把自定義的python.exe設(shè)置為空就好了文章來源地址http://www.zghlxwxcb.cn/news/detail-847784.html
到了這里,關(guān)于mac的M1電腦airtest報錯ImportError: Error importing numpy: you should not try to import numpy from的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!