VS code python環境搭建,pylint用命令裝不上,純手工安裝(先安裝其需要的其他插件),終於裝上了

背景:

最近搗鼓python,IDE用的是VS code,可是一直沒把環境整好。

今天VS提示pylint沒裝,我就點安裝呀,這算事麼?不要讓我分心呀。。。果斷點了install

 

問題:

不出意料,結果失敗了。

反覆試了幾次,還是不行,仔細看看提示吧。

大概,我估摸應該就是證書驗證那塊沒過去,https這個安全連接搞不起來,具體啥原因呢?

有的說是新版本python的問題,我就按照方法,取消了安全驗證,沒啥用,結果一模一樣。

那我更傾向於是其他問題了,但我沒有深究結果。

因爲我的目的是要把pylint搞定。

咋整呢?

 

解決方案:

只能手動了的說!

按照錯誤提示,比如:

Could not fetch URL https://pypi.org/simple/mccabe/

就連不上唄,下載不下來唄,它不行,我來唄。

 

解決步驟

1.複製連接到瀏覽器,手動打開連接,比如:https://pypi.org/simple/mccabe/,如下圖:

2.果斷下載最新的.whl文件(.gz應該也可以,試過wrapt的gz,可以用pip安裝),我下載之後放在pyhton安裝目錄下的scripts文件夾裏了。

  不瞞你們說,下了不少。。。(一句命令的事,手動真累呀!)

3.在存放這些文件的目錄下,打開cmd,用pip安裝。

   以上面的文件爲例,命令是:pip install mccabe-0.6.1-py2.py3-none-any.whl,然後回車。

 

4.回車之後兩種結果,要麼success,要麼給你個連接打不開提示,那你就繼續複製連接到瀏覽器,下載最新文件,再次安裝。

5.直到滿足所有pylint需要的條件,再安裝它!就成功了!(相當野蠻和暴力了。。。。)

 

資源分享:

下面把我打開的連接都貼上來,需要什麼文件,可以去連接找,資源名就是連接最後一個單詞。

https://pypi.org/simple/pylint/

https://pypi.org/simple/isort/

https://pypi.org/simple/astroid/

https://pypi.tuna.tsinghua.edu.cn/simple/

https://pypi.org/simple/lazy-object-proxy/

https://pypi.org/simple/wrapt/

https://pypi.org/simple/colorama/

https://pypi.org/simple/mccabe/

還要插一句,大家電腦環境不一樣,俺也不知道你們裝了啥,缺了啥,需要啥,能幫上就看看,方法可以互相學習。

最後,把我的cmd過程貼上來。

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip3.8 install pylint-2.4.1-py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\pylint-2.4.1-py3-none-any.whl
Collecting mccabe<0.7,>=0.6 (from pylint==2.4.1)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  Could not fetch URL https://pypi.org/simple/mccabe/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/mccabe/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement mccabe<0.7,>=0.6 (from pylint==2.4.1) (from versions: none)
ERROR: No matching distribution found for mccabe<0.7,>=0.6 (from pylint==2.4.1)
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip3.8 install pylint
Collecting pylint
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/pylint/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  Could not fetch URL https://pypi.org/simple/pylint/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pylint/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement pylint (from versions: none)
ERROR: No matching distribution found for pylint
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install pylint
Collecting pylint
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  Could not fetch URL https://pypi.org/simple/pylint/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pylint/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement pylint (from versions: none)
ERROR: No matching distribution found for pylint
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>python
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl._create_default_https_context = ssl._create_unverified_context
>>> exit
Use exit() or Ctrl-Z plus Return to exit
>>> exit()

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install pylint
Collecting pylint
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pylint/
  Could not fetch URL https://pypi.org/simple/pylint/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pylint/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement pylint (from versions: none)
ERROR: No matching distribution found for pylint
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>install pylint-2.4.4-py3-none-any.whl
'install' 不是內部或外部命令,也不是可運行的程序
或批處理文件。

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pylint-2.4.4-py3-none-any.whl
系統無法執行指定的程序。

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install pylint-2.4.4-py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\pylint-2.4.4-py3-none-any.whl
Collecting isort<5,>=4.2.5 (from pylint==2.4.4)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/isort/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/isort/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/isort/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/isort/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/isort/
  Could not fetch URL https://pypi.org/simple/isort/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/isort/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement isort<5,>=4.2.5 (from pylint==2.4.4) (from versions: none)
ERROR: No matching distribution found for isort<5,>=4.2.5 (from pylint==2.4.4)
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install isort-4.3.21-py2.py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\isort-4.3.21-py2.py3-none-any.whl
Installing collected packages: isort
Successfully installed isort-4.3.21
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install pylint-2.4.4-py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\pylint-2.4.4-py3-none-any.whl
Collecting astroid<2.4,>=2.3.0 (from pylint==2.4.4)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/astroid/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/astroid/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/astroid/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/astroid/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/astroid/
  Could not fetch URL https://pypi.org/simple/astroid/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/astroid/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement astroid<2.4,>=2.3.0 (from pylint==2.4.4) (from versions: none)
ERROR: No matching distribution found for astroid<2.4,>=2.3.0 (from pylint==2.4.4)
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install astroid-2.3.3-py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\astroid-2.3.3-py3-none-any.whl
Collecting lazy-object-proxy==1.4.* (from astroid==2.3.3)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/lazy-object-proxy/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/lazy-object-proxy/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/lazy-object-proxy/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/lazy-object-proxy/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/lazy-object-proxy/
  Could not fetch URL https://pypi.org/simple/lazy-object-proxy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/lazy-object-proxy/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement lazy-object-proxy==1.4.* (from astroid==2.3.3) (from versions: none)
ERROR: No matching distribution found for lazy-object-proxy==1.4.* (from astroid==2.3.3)
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install lazy_object_proxy-1.4.3-cp38-cp38-win_amd64.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\lazy_object_proxy-1.4.3-cp38-cp38-win_amd64.whl
Installing collected packages: lazy-object-proxy
Successfully installed lazy-object-proxy-1.4.3
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install astroid-2.3.3-py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\astroid-2.3.3-py3-none-any.whl
Collecting wrapt==1.11.* (from astroid==2.3.3)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/wrapt/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/wrapt/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/wrapt/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/wrapt/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/wrapt/
  Could not fetch URL https://pypi.org/simple/wrapt/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/wrapt/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement wrapt==1.11.* (from astroid==2.3.3) (from versions: none)
ERROR: No matching distribution found for wrapt==1.11.* (from astroid==2.3.3)
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install wrapt-1.11.2.tar.gz
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\wrapt-1.11.2.tar.gz
Installing collected packages: wrapt
  Running setup.py install for wrapt ... done
Successfully installed wrapt-1.11.2
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install astroid-2.3.3-py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\astroid-2.3.3-py3-none-any.whl
Requirement already satisfied: six~=1.12 in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from astroid==2.3.3) (1.13.0)
Requirement already satisfied: wrapt==1.11.* in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from astroid==2.3.3) (1.11.2)
Requirement already satisfied: lazy-object-proxy==1.4.* in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from astroid==2.3.3) (1.4.3)
Installing collected packages: astroid
Successfully installed astroid-2.3.3
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install pylint-2.4.4-py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\pylint-2.4.4-py3-none-any.whl
Collecting colorama; sys_platform == "win32" (from pylint==2.4.4)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/colorama/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/colorama/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/colorama/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/colorama/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/colorama/
  Could not fetch URL https://pypi.org/simple/colorama/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/colorama/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement colorama; sys_platform == "win32" (from pylint==2.4.4) (from versions: none)
ERROR: No matching distribution found for colorama; sys_platform == "win32" (from pylint==2.4.4)
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install colorama-0.4.3-py2.py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\colorama-0.4.3-py2.py3-none-any.whl
Installing collected packages: colorama
Successfully installed colorama-0.4.3
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install pylint-2.4.4-py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\pylint-2.4.4-py3-none-any.whl
Requirement already satisfied: colorama; sys_platform == "win32" in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from pylint==2.4.4) (0.4.3)
Requirement already satisfied: astroid<2.4,>=2.3.0 in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from pylint==2.4.4) (2.3.3)
Requirement already satisfied: isort<5,>=4.2.5 in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from pylint==2.4.4) (4.3.21)
Collecting mccabe<0.7,>=0.6 (from pylint==2.4.4)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/mccabe/
  Could not fetch URL https://pypi.org/simple/mccabe/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/mccabe/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement mccabe<0.7,>=0.6 (from pylint==2.4.4) (from versions: none)
ERROR: No matching distribution found for mccabe<0.7,>=0.6 (from pylint==2.4.4)
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install mccabe-0.6.1-py2.py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\mccabe-0.6.1-py2.py3-none-any.whl
Installing collected packages: mccabe
Successfully installed mccabe-0.6.1
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>pip install pylint-2.4.4-py3-none-any.whl
Processing c:\users\lenovo\appdata\local\programs\python\python38\scripts\pylint-2.4.4-py3-none-any.whl
Requirement already satisfied: astroid<2.4,>=2.3.0 in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from pylint==2.4.4) (2.3.3)
Requirement already satisfied: colorama; sys_platform == "win32" in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from pylint==2.4.4) (0.4.3)
Requirement already satisfied: mccabe<0.7,>=0.6 in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from pylint==2.4.4) (0.6.1)
Requirement already satisfied: isort<5,>=4.2.5 in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from pylint==2.4.4) (4.3.21)
Requirement already satisfied: six~=1.12 in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from astroid<2.4,>=2.3.0->pylint==2.4.4) (1.13.0)
Requirement already satisfied: lazy-object-proxy==1.4.* in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from astroid<2.4,>=2.3.0->pylint==2.4.4) (1.4.3)
Requirement already satisfied: wrapt==1.11.* in c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages (from astroid<2.4,>=2.3.0->pylint==2.4.4) (1.11.2)
Installing collected packages: pylint
Successfully installed pylint-2.4.4
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts>

 

 

                                                                

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章