要在mac下安装pycrypto组件,尝试了无数办法,包括
port install
pip install
brew install
都不行,最后发现是gcc的问题,因为写了一个helloworld的c程序,用gcc编译竟然提示错误:stdio.h没找到,才发现gcc默认的include目录没有指定,
执行xcode-select:
xcode-select --switch /Application/Xcode.app
通过安装
要在mac下安装pycrypto组件,尝试了无数办法,包括
port install
pip install
brew install
都不行,最后发现是gcc的问题,因为写了一个helloworld的c程序,用gcc编译竟然提示错误:stdio.h没找到,才发现gcc默认的include目录没有指定,
执行xcode-select:
xcode-select --switch /Application/Xcode.app
通过安装