Python安裝套件時出現Verifying transaction: failed. The current user does not have write permission to the target envirment.如何以系統管理員身分執行Anaconda Prompt? pip list ; pip show beautifulsoup4 確認是否安裝成功

加入好友
加入社群
Python安裝套件時出現Verifying transaction: failed. The current user does not have write permission to the target envirment.如何以系統管理員身分執行Anaconda Prompt? pip list ; pip show beautifulsoup4 確認是否安裝成功 - 儲蓄保險王

Python安裝beautifulsoup4時

出現Verifying transaction: failed.

The current user does not have write permission to the target envirment.

Python安裝套件時出現Verifying transaction: failed. The current user does not have write permission to the target envirment.如何以系統管理員身分執行Anaconda Prompt? pip list ; pip show beautifulsoup4 確認是否安裝成功 - 儲蓄保險王

 

Anaconda Prompt > 右鍵

更多>以系統管理員身分執行

Python安裝套件時出現Verifying transaction: failed. The current user does not have write permission to the target envirment.如何以系統管理員身分執行Anaconda Prompt? pip list ; pip show beautifulsoup4 確認是否安裝成功 - 儲蓄保險王

 

Anaconda Prompt中輸入:

conda install -c anaconda beautifulsoup4

(谷歌conda install beautifulsoup,

即可找到conda官網建議的安裝指令

conda會做版本管理,

直接pip install

則可能裝到無法運行的舊版)

此次就沒有出現

does not have write permission

的錯誤訊息: 

Python安裝套件時出現Verifying transaction: failed. The current user does not have write permission to the target envirment.如何以系統管理員身分執行Anaconda Prompt? pip list ; pip show beautifulsoup4 確認是否安裝成功 - 儲蓄保險王

 

如何確認有安裝成功?

conda prompt中輸入

pip list

Python安裝套件時出現Verifying transaction: failed. The current user does not have write permission to the target envirment.如何以系統管理員身分執行Anaconda Prompt? pip list ; pip show beautifulsoup4 確認是否安裝成功 - 儲蓄保險王

針對某一套件查詢用

pip show beautifulsoup4:

Python安裝套件時出現Verifying transaction: failed. The current user does not have write permission to the target envirment.如何以系統管理員身分執行Anaconda Prompt? pip list ; pip show beautifulsoup4 確認是否安裝成功 - 儲蓄保險王

conda install -c anaconda beautifulsoup4

conda install -c anaconda requests

conda install -c anaconda lxml

conda install -c anaconda html5lib

conda install -c conda-forge selenium

conda install -c conda-forge pyinstaller

 

加入好友
加入社群
Python安裝套件時出現Verifying transaction: failed. The current user does not have write permission to the target envirment.如何以系統管理員身分執行Anaconda Prompt? pip list ; pip show beautifulsoup4 確認是否安裝成功 - 儲蓄保險王

儲蓄保險王

儲蓄險是板主最喜愛的儲蓄工具,最喜愛的投資理財工具則是ETF,最喜愛的省錢工具則是信用卡

You may also like...

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *