1. 程式人生 > 實用技巧 >apache2開啟/使能.htaccess檔案的方法

apache2開啟/使能.htaccess檔案的方法

安裝

1.python安裝:
檢視是否安裝成功:終端輸入命令:python或python --version
2.pycharm安裝:
永久啟用外掛:jetbrains-agent-latest.zip
裝完pycharm後直接將jetbrains-agent-latest.zip拖到介面上,然後輸入安裝引數,永久啟用。
3.selenium安裝:
進入到Python\Scripts目錄下,開啟終端:pip install selenium直接安裝
檢視selenium的安裝版本:開啟cmd:pip show selenium
4.chromedriver安裝:
chromedriver必須與chrome的版本對應

版本對照表網址:
https://blog.csdn.net/BinGISer/article/details/88559532
chromedriver下載網址:
http://chromedriver.storage.googleapis.com/index.html
下載完成後將chromedriver.exe放在\Google\Chrome\Application和\Python\Scripts目錄下
5.進入pycharm編譯器,檢視selenium是否匯入成功,若不成功:
File-Settings-Project Interpreter-下拉框Show All-加號-System Interpreter - \python \python.exe的路徑
在這裡插入圖片描述