Python 2.7 pip kurulum hatası

merhaba dostlar vds de yaptığım oyun serverim için komut eklemem lazım ve bunun için pip kurmam lazım fakat hata veriyor yardımcı olabilecek var mı hata bu şekilde

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. A future version of
pip will drop support for Python 2.7. More details about Python 2 support in pip
, can be found at https://pip.pypa.io/en/latest/development/release-process/#pyt
hon-2-support
c:\users\vds\appdata\local\temp\2\tmpxhewlp\pip.zip\pip\_vendor\urllib3\util\ssl
_.py:380: SNIMissingWarning: An HTTPS request has been made, but the SNI (Server
 Name Indication) extension to TLS is not available on this platform. This may c
ause the server to present an incorrect TLS certificate, which can cause validat
ion failures. You can upgrade to a newer version of Python to solve this. For mo
re information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html
#ssl-warnings
c:\users\vds\appdata\local\temp\2\tmpxhewlp\pip.zip\pip\_vendor\urllib3\util\ssl
_.py:139: InsecurePlatformWarning: A true SSLContext object is not available. Th
is 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-us
age.html#ssl-warnings
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status
=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407
742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /sim
ple/pip/
c:\users\vds\appdata\local\temp\2\tmpxhewlp\pip.zip\pip\_vendor\urllib3\util\ssl
_.py:139: InsecurePlatformWarning: A true SSLContext object is not available. Th
is 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-us
age.html#ssl-warnings
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status
=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407
742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /sim
ple/pip/
c:\users\vds\appdata\local\temp\2\tmpxhewlp\pip.zip\pip\_vendor\urllib3\util\ssl
_.py:139: InsecurePlatformWarning: A true SSLContext object is not available. Th
is 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-us
age.html#ssl-warnings
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status
=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407
742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /sim
ple/pip/
c:\users\vds\appdata\local\temp\2\tmpxhewlp\pip.zip\pip\_vendor\urllib3\util\ssl
_.py:139: InsecurePlatformWarning: A true SSLContext object is not available. Th
is 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-us
age.html#ssl-warnings
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status
=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407
742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /sim
ple/pip/
c:\users\vds\appdata\local\temp\2\tmpxhewlp\pip.zip\pip\_vendor\urllib3\util\ssl
_.py:139: InsecurePlatformWarning: A true SSLContext object is not available. Th
is 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-us
age.html#ssl-warnings
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status
=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407
742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /sim
ple/pip/
c:\users\vds\appdata\local\temp\2\tmpxhewlp\pip.zip\pip\_vendor\urllib3\util\ssl
_.py:139: InsecurePlatformWarning: A true SSLContext object is not available. Th
is 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-us
age.html#ssl-warnings
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming
 the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retrie
s exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '_ssl.c:499: e
rror:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version')
,)) - skipping
ERROR: Could not find a version that satisfies the requirement pip (from version
s: none)
ERROR: No matching distribution found for pip

Hatanın başlarını okursanız size Python2.7 kullanmamanız gerektiğini söylüyor, Python3.x kullanmalısınız.

python2 için indirmem gerekiyor onu kullanıyorum nasıl kurarım

Dostum şuan kursan bile ileride destek tamamen kesildiğinde ne yapacaksın? Python2 kullanmak zorunda mısın?

python2 kullanmak zorundayım

pip olmadan beautifulsoup ve urllib kurabilir miyim

İstiyorsanız bu adresteki dosyayı bir python dosyası olarak kaydedip şu şekilde çalıştırmayı deneyin:

python <indirdiğiniz-dosya>

1 Ocak 2021’de Python2’ye desteğini bırakmayı planlıyor.

Zaten standart kütüphanede değil mi?
https://docs.python.org/2.7/library/urllib.html

o dosyayı çalıştırdığımda aldım zaten hatayı

Bilemiyorum.

python2 ile yapıp python3 ile yapamadığınız şey ne?

1 Beğeni

tüm source python2 ile yapıldı python3 e çevirmek oldukça zor on binlerce satır var o yüzden python2 ile devam etmem gerekiyor

Python2 kodlarını Python3 kodlarına dönüştürmek için 2to3 modülünü kullanmayı deneyebilirsiniz.

2to3 -w dosya.py

Ayrıntılı bilgi için aşağıdaki bağlantıyı ziyaret edin.
https://docs.python.org/3.8/library/2to3.html

işe yaramadı yine de teşekkürler