在mac ----->
上安装mobsf时,反复发生此错误。c -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I / Library / Frameworks / Python.framework / Versions / 3.7 / include / python3.7m -c build / temp.macosx-10.9-x86_64 -3.7 / _openssl.c -o build / temp.macosx-10.9-x86_64-3.7 / build / temp.macosx-10.9-x86_64-3.7 / _openssl.o -Wconversion -Wno-error = sign-conversion build / temp.macosx-10.9-x86_64-3.7 / _openssl.c:493:10:致命错误:找不到'openssl / opensslv.h'文件 #包括 ^ 产生1个错误。 错误:命令“ gcc”失败,退出状态为1
----------------------------------------
命令“ /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c”导入设置工具,标记化; 文件 ='/ private / var / folders / 9t / _bpw_6gx4vjb2yh1207xkhbw0000gn / T / pip-install-r2zcxnqo / cryptography / setup.py'; f = getattr(tokenize,'open',open)( file ); code = f.read()。 replace('\ r \ n','\ n'); f.close(); exec(compile(code, file ,'exec'))“ install --record / private / var /folders/9t/_bpw_6gx4vjb2yh1207xkhbw0000gn/T/pip-record-qjxlvc64/install-record.txt --single-version-externally-managed --compile“在/ private / var / folders / 9t / _bpw_6gx4vjb2y中出现错误代码1失败T / pip-install-r2zcxnqo / cryptography /
答案 0 :(得分:0)
使用最新版本的MobSF,建议在其https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-deploy-and-where中进行安装(因为它会不断更新)。