# `.venv` 虛擬環境 ## Create $\to$ Activate $\to$ Deactivate 1. Create a virtual environment (you can name it .venv or anything you like): ```bash python3 -m venv .venv ``` 2. Activate the virtual environment: ```bash source .venv/bin/activate ``` 3. Install dependencies from requirements.txt ```bash pip install -r requirements.txt ``` 4. To deactivate: ```bash deactivate ``` ## Remove `venv` 1. Deactivate environment first ```bash deactivate ``` 2. Delete the virtual environment folder: ```bash rm -rf .venv ```
×
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