在学习TF的时候需要安装一个python组件,指令如下:
pip install --upgrade virtualenv
执行后会报错,
matplotlib 1.3.1 requires nose, which is not installed.
matplotlib 1.3.1 requires tornado, which is not installed.
matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
numpy要求1.5以上,而Python2.7预装的是1.8.0rc1,导致版本号识别有问题,无法满足版本需求
搞了半天最后升级了Python到2.7.14就行了brew install python2
🤷♂️
网友评论