โดย jirawoot » 05/10/2019 10:40 am
python 2.7.2
ผมทำการติดตั้ง pip install flask บน windows 10 ใน pycharm แล้ว error แบบด้านล่างเป็นเพราะอะไร
โค้ด: เลือกทั้งหมด
(venv) C:\Users\Com-M010\PycharmProjects\vdotogif>pip install flask
Collecting flask
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject N
ame Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You c
an 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
SNIMissingWarning
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Could not fetch URL https://pypi.org/simple/flask/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded wi
th url: /simple/flask/ (Caused by SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)) - skipping
Could not find a version that satisfies the requirement flask (from versions: )
No matching distribution found for flask
python 2.7.2
ผมทำการติดตั้ง pip install flask บน windows 10 ใน pycharm แล้ว error แบบด้านล่างเป็นเพราะอะไร
[code]
(venv) C:\Users\Com-M010\PycharmProjects\vdotogif>pip install flask
Collecting flask
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject N
ame Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You c
an 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
SNIMissingWarning
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_
GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/flask/
c:\users\com-m010\pycharmprojects\vdotogif\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: 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 informati
on, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Could not fetch URL https://pypi.org/simple/flask/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded wi
th url: /simple/flask/ (Caused by SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)) - skipping
Could not find a version that satisfies the requirement flask (from versions: )
No matching distribution found for flask
[/code]