1. 程式人生 > >pyCharm的幾個配置

pyCharm的幾個配置

session default local dep als pin class 用戶名 xpl

安裝第三方庫: File -> Setting -> Project:項目名 -> project Interpreter 點下面窗格,點右邊+號 配置遠程解釋器: File -> Setting -> Project:項目名 -> project Interpreter -> 右邊齒輪 -> SSH Credentials 虛擬環境路徑: /home/用戶名/.virtualenvs/虛擬環境名/bin/python3 配置遠程部署: Tools -> Deployment -> Configration -> +號新建配置 -> Connection的Type選擇 SFTP -> SFTP的host和port輸入SSH配置,Root path輸入遠端路徑 Mappings中,Local path 為本地路徑,Deployment path為相對於Root path的遠端路徑 自動遠程部署: Tools -> Deployment -> Options ,Upload changed files automatically to the default server選擇On explicit save action (Ctrl + S),勾選Upload external changes
手動遠程部署: Tools -> Deployment -> Options ,Upload changed files automatically to the default server選擇Never
Tools -> Deployment -> Upload to Default Server
快速打開SSH窗口: Tools -> Start SSH session

pyCharm的幾個配置