YTPara.com - Youtube & Webmaster Destek Forumu

YTPara.com - Youtube & Webmaster Destek Forumu (https://www.ytpara.com/)
-   İşletim Sistemleri (https://www.ytpara.com/217-isletim-sistemleri/)
-   -   Centos 6.4 Python 2.6.6 dan 3.6 ya yükseltmek? (https://www.ytpara.com/isletim-sistemleri/128754-centos-6-4-python-2-6-6-dan-3-6-ya-yukseltmek.html)

Mehmet4226 10.08.2018 21:00

Centos 6.4 Python 2.6.6 dan 3.6 ya yükseltmek?
 
merhaba hocalarım. sunucumda python 2.6.6 kurulu bunu 3.6 ya nasıl yükselteceğim. türkçe kaynak yokmu? ingilizce kaynaklarından uğraşıyorum ve sürekli sunucu bozuluyor? lütfen yardım edin kolay gelsin

se7v7en 10.08.2018 21:11

yum remove python

---------- Spam Engelliyici 21:11 ---------- Önceki Mesaj 21:10 ----------

# Python 3.6.3:
wget http://python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
tar xf Python-3.6.3.tar.xz
cd Python-3.6.3
./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make && make altinstall

---------- Spam Engelliyici 21:11 ---------- Önceki Mesaj 21:11 ----------

https://danieleriksson.net/2017/02/0...hon-on-centos/

Mehmet4226 10.08.2018 21:15

Alıntı:

se7v7en Nickli Üyeden Alıntı (Mesaj 1745470)
yum remove python

---------- Spam Engelliyici 21:11 ---------- Önceki Mesaj 21:10 ----------

# Python 3.6.3:
wget http://python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
tar xf Python-3.6.3.tar.xz
cd Python-3.6.3
./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make && make altinstall

---------- Spam Engelliyici 21:11 ---------- Önceki Mesaj 21:11 ----------

https://danieleriksson.net/2017/02/0...hon-on-centos/

hocam onu yaptım fakat eksik yaptım yani şöyle

yum remove python yaptım sonra bu kodları girdim fakat python -V yaptığım zaman 2.6.6 versiyonu gösteriyor fakat python3.6 -V yaptığım zaman görünüyor. bunu nasıl varsayılan python sürümü olarak kullanacağım? youtube-dl python2.6.6 kullanıyor

se7v7en 10.08.2018 21:18

edit------

Mehmet4226 10.08.2018 21:28

Alıntı:

se7v7en Nickli Üyeden Alıntı (Mesaj 1745477)
hocam sunucuyu sıfırdan kurun:

yum -y install python-pip ; easy_install pip ; pip install --upgrade youtube_dl; sudo yum -y install gpac


yukarıdaki kodları tek seferde girin . youtube-dl sorunsuz çalışacaktır


hocam pip install --upgrade youtube_dl bunu yazınca aşağıdaki hatayı verdi
Kod:

/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Collecting youtube-dl
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Could not find a version that satisfies the requirement youtube-dl (from versions: )
No matching distribution found for youtube-dl


se7v7en 10.08.2018 21:37

edit------

Mehmet4226 10.08.2018 22:43

Alıntı:

se7v7en Nickli Üyeden Alıntı (Mesaj 1745486)
hocam sunucu bilgilerini bana pm atarmısın.

---------- Spam Engelliyici 21:37 ---------- Önceki Mesaj 21:29 ----------



youtube -dl sorunsuz çalışıyor şimdi

İLERİDE BELKİ BİRİSİNE YARDIMCI OLUR SORUNU ÇÖZDÜM

sorun tarih. şaka gibi ama gerçek hocam. tarihi güncelleyince çalıştı. 1 haftadır uğraşıyordum şuan şok oldum bakmadığım yabancı kaynak kalmadı en sonunda buldum. şuan neye uğradığımı şaşırmış durumdayım

react 23.08.2018 18:19

pip ile ilgili hata aldım ayrıca kurmak mı gerekiyor acaba?


Forum Saati: 11:57. Zaman dilimi GMT +3 olarak ayarlanmıştır.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0