TensorFlow报错:Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository……
综合网上查到的解决方案和自己的试验:
TODO1:pip install --upgrade distribute
发现报错ImportError: No module named _markerlib
因此为了解决这个问题TODO2:easy_install distribute
报错AttributeError: ‘NoneType’ object has no attribute ‘clone’
之后查呀查,在https://stackoverflow.com/questions/5178535/easy-install-libmysqld-dev-error-nonetype-object-has-no-attribute-clone找到了方法
TODO3:sudo easy_install -U setuptools
这个方法顺利成功,然后再依次执行之前的指令,之后tensorflow运行就不会报那个错误啦