pipenv

創建虛擬環境

pipenv python 3.6.9

創建虛擬環境(2)

pipenv install python=$(which python)

查看所有項目

pipenv list

進入虛擬環境

pipenv shell

查看當前虛擬目錄

pipenv venv

給其他人使用的

pipenv install flask

給開發者使用的

pipenv install dev requests

運行pipenv檔案裡的python

pipenv run python main.py

腳本

[scripts]
start = "text"
test = "text"
list = "text

pyenv

在一個目錄中選擇一種python版本

pyenv local 3.6.9

查看使用哪個路徑下的python

which python