อัพเกรด pip ตัวช่วยติดตั้งโมดูลเสริม ของ Python

ตอบกระทู้

รูปแสดงอารมณ์
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
รูปแสดงอารมณ์อื่นๆ

BBCode เปิด
[img] เปิด
[url] เปิด
[Smile icon] เปิด

กระทู้แนะนำ
   

มุมมองที่ขยายได้ กระทู้แนะนำ: อัพเกรด pip ตัวช่วยติดตั้งโมดูลเสริม ของ Python

Re: อัพเกรด pip ตัวช่วยติดตั้งโมดูลเสริม ของ Python

โดย bom_002 » 18/03/2017 11:48 pm

มีประโยชน์กับผู้เริ่มศึกษามากครับ

Re: อัพเกรด pip ตัวช่วยติดตั้งโมดูลเสริม ของ Python

โดย mindphp » 05/02/2017 7:15 pm

หรือใช้คำสั่งนี้ก็ได้

โค้ด: เลือกทั้งหมด

python -m pip install -U pip

Re: อัพเกรด pip ตัวช่วยติดตั้งโมดูลเสริม ของ Python

โดย mindphp » 30/11/2016 5:23 pm

ผลที่ได้เวอร์ชั่นปัจจุบันของ pip 9.0.1

C:\Python27\lib\site-packages\pip\_vendor\requests\packages\urllib3\util\ssl_.py
:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Na
me Indication) extension to TLS is not available on this platform. This may caus
e the server to present an incorrect TLS certificate, which can cause validation
failures. You can upgrade to a newer version of Python to solve this. For more
information, see https://urllib3.readthedocs.org/en/late ... ml#snimiss
ingwarning.
SNIMissingWarning
C:\Python27\lib\site-packages\pip\_vendor\requests\packages\urllib3\util\ssl_.py
:122: InsecurePlatformWarning: A true SSLContext object is not available. This p
revents urllib3 from configuring SSL appropriately and may cause certain SSL con
nections to fail. You can upgrade to a newer version of Python to solve this. Fo
r more information, see https://urllib3.readthedocs.org/en/latest/security.html#
insecureplatformwarning.
InsecurePlatformWarning
Collecting pip
Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
100% |################################| 1.3MB 238kB/s
Installing collected packages: pip
Found existing installation: pip 8.1.2
Uninstalling pip-8.1.2:
Successfully uninstalled pip-8.1.2
Successfully installed pip-9.0.1

อัพเกรด pip ตัวช่วยติดตั้งโมดูลเสริม ของ Python

โดย mindphp » 30/11/2016 5:22 pm

บน windows รันคำสั่งตามนี้

โค้ด: เลือกทั้งหมด

C:\Python27>python -m pip install --upgrade pip

ข้างบน