
python下載模組然後怎麼安裝?
推薦:《Python教程》
#python 安裝模組的方法
學習python肯定是要調用許多的模組,那面要怎麼安裝呢!
黃部落客目前也掌握了兩種方法,你們有不同的可以私聊黃博主,大家一起學習學習!
第一種:
先點選上面的File,在出現的下拉清單中找到Settings,點選' '號

直接搜尋你需要的模組,

然後點選install packages


##那麼出現找不到對應的版本咋辦呢!那沒辦法咯,你就不要安裝或是接著看黃博主的第二種方法咯!
第二種:https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook 這是python所有模組的下載位址

下載自己所需的版本就可以!

黃色部落客下載到桌面上拉!

進入cmd中,第一步是需要進入到你放置檔案的位置,(黃部落客是放在桌面上)
第二步:pip install 檔案名稱.whl 一定是要加後綴的,不然安裝不上的
pip install 是所有模組的按爪給你都是這樣的, 黃博主上面的是安裝的pyHook模組!
以上是python下載模組然後怎麼安裝的詳細內容。更多資訊請關注PHP中文網其他相關文章!