pipenv建立Python虛擬環境

建立項目根目錄 shift+右鍵在根目錄中打開power shell pipenv install 建立虛擬環境 pipenv shell 顯式激活虛擬環境 在pycharm中將python解釋器設置爲虛擬環境中的解釋器(pipenv --venv可查看項目對應的虛擬環境路徑) tips: pipenv install 安裝模塊時有時候會很慢 能夠設置國內源:Pipfile文件中[source]下
相關文章
相關標籤/搜索