安装某些package时,在满足大于某个版本,小于弄版本时,又不知道对应的包具体有哪些版本,可以用 pip install package_name== 进行查看包有哪些版本。
示例:
pip install python-dateutil==
ERROR: Could not find a version that satisfies the requirement python-dateutil== (from versions: 1.4, 1.4.1, 1.5, 2.1, 2.2, 2.3, 2.4.0, 2.4.1, 2.4.1.post1, 2.4.2, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.8.0, 2.8.1)
ERROR: No matching distribution found for python-dateutil==