最近在看李宏毅老师的《机器学习》
在课程下半部分的深度学习里涉及到了keras,于是找了找教程进行安装,mac的终端命令行很方便,在安装过程中还是遇到一些问题,记录一下解决的方法。
Mac的keras安装,可用终端:
pip install keras
在安装时遇到的errors:
1.ImportError: No module named py31compat
解决方法:sudo pip install setuptools
2.Error: Cannot uninstall ‘six’. It is a distutils installed project…
解决方法:sudo pip install six --upgrade --ignore-installed six
3.Error: matplotlib 1.3.1 requires nose, which is not installed.
matplotlib 1.3.1 requires tornado, which is not installed.
解决方法:先 pip install --user tornado 后pip install – user nose