执行easy_install bson时出现错误error: Could not find required distribution python-date
执行easy_install bson时出现错误 error: Could not find required distribution python-dateutil>=2.4.0
详细过程如下:
[root@localhost /]# easy_install bson
Searching for bson
Reading https://pypi.python.org/simple/bson/
Best match: bson 0.5.10
Downloading https://files.pythonhosted.org/packages/4d/53/7c534a38850f2252275d7f949aed2219095e90df1e2d180a9c8ed139e499/bson-0.5.10.tar.gz#sha256=d6511b2ab051139a9123c184de1a04227262173ad593429d21e443d6462d6590
Processing bson-0.5.10.tar.gz
Writing /tmp/easy_install-wIMuz9/bson-0.5.10/setup.cfg
Running bson-0.5.10/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wIMuz9/bson-0.5.10/egg-dist-tmp-6qfifA
zip_safe flag not set; analyzing archive contents...
Adding bson 0.5.10 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/bson-0.5.10-py2.7.egg
Processing dependencies for bson
Searching for python-dateutil>=2.4.0
Reading https://pypi.python.org/simple/python-dateutil/
Best match: python-dateutil 2.8.1
Downloading https://files.pythonhosted.org/packages/be/ed/5bbc91f03fa4c839c4c7360375da77f9659af5f7086b7a7bdda65771c8e0/python-dateutil-2.8.1.tar.gz#sha256=73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c
Processing python-dateutil-2.8.1.tar.gz
Writing /tmp/easy_install-kkPFkD/python-dateutil-2.8.1/setup.cfg
Running python-dateutil-2.8.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kkPFkD/python-dateutil-2.8.1/egg-dist-tmp-ivtsuQ
/tmp/easy_install-kkPFkD/python-dateutil-2.8.1/setup.py:20: UserWarning: python_requires requires setuptools version > 24.3
UserWarning)
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_scm_version'
warnings.warn(msg)
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
zip_safe flag not set; analyzing archive contents...
Adding UNKNOWN 0.0.0 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/UNKNOWN-0.0.0-py2.7.egg
error: Could not find required distribution python-dateutil>=2.4.0
请问如何处理。还有那几行绿色的warn 会有什么影响。谢谢大家