Windows下Python中pip安裝Pillow報錯總結(轉載)

來源:互聯網
上載者:User

標籤:down   erro   pack   添加   ade   error   ted   許可權   win32   

遇到的倆種錯誤
1.
ValueError: zlib is required unless explicitly disabled using --disable-zlib, aborting
問題原因未知,博主嘗試了一下解決方案可以解決問題。博主PC  是 Pthon3.4.3-win32
pip install --upgrade pip 在cmd中更新一下pip,然後發現出現了第二個問題,許可權問題,給使用者添加所有者許可權後,
再次執行 pip install Pillow  完美安裝Pillow 庫
--------------------------------------------------------------------------------------------------
Collecting Pillow
  Downloading Pillow-3.3.0-cp34-cp34m-win32.whl (1.2MB)
    100% |████████████████████████████████| 1.2MB 170kB/s
Installing collected packages: Pillow
Successfully installed Pillow-3.3.0

2.
PermissionError: [WinError 5] 拒絕訪問。--------這個是許可權問題
在python安裝目錄,右擊屬性->安全->user->添加許可權

Windows下Python中pip安裝Pillow報錯總結(轉載)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.