cmd报错DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple d:\ruanjian_wr\gis_py27_wr\arcgis10.2\lib\site-packages\pip_vendor\urllib3\util\ssl_.py:164: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning
时间: 2024-04-27 10:22:44 浏览: 352
Python3 pip3 list 出现 DEPRECATION 警告的解决方法
这个错误是Python 2.7已经不再维护,建议升级到新版本的Python。pip 21.0将在2021年1月停止对Python 2.7的支持,所以你也需要升级pip。同时,错误还提示SSL连接可能存在问题,因为当前平台不安全,建议升级到新版本的Python来解决这个问题。你可以点击提供的链接获取更多信息。
阅读全文