M1pro芯片,pycharm, macos 系统,pip配置tensorflow环境后,import tensorflow时返回:
Process finished with exit code 132 (interrupted by signal 4: SIGILL)
解决方法:
打开终端(若是分多个环境需要先激活tensorflow所在环境)
先卸载pip安装的环境
>> pip uninstall protobuf
>> pip uninstall tensorflow
使用conda重新安装tensorflow
conda install tensorflow
注意:必须使用conda!!!!