Python Virtualenv === 1. 裝 virtualenv`pip install virtualenv` 2. 先 cd 到想放虛擬環境的資料夾 `cd C:\path\to\my_folder` 3. 建立虛擬環境`virtualenv venv_name` 4. 啟動虛擬環境`cd C:\path\to\my_folder\venv_name\Scripts` `activate` 5. 執行python檔案`cd C:\path\to\my_python_file` `python filename.py` 6. 退出虛擬環境`cd C:\path\to\my_folder\venv_name\Scripts` `deactivate`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up