added pipenv
This commit is contained in:
parent
d46465ab47
commit
dfb6337190
@ -1,3 +1,5 @@
|
|||||||
|
# Venv
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python -m venv <env-name>
|
python -m venv <env-name>
|
||||||
source <env-name>/bin/activate
|
source <env-name>/bin/activate
|
||||||
@ -7,4 +9,16 @@ deactivate
|
|||||||
```
|
```
|
||||||
pip freeze > requirements.txt
|
pip freeze > requirements.txt
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
# Pipenv
|
||||||
|
```bash
|
||||||
|
pyenv install --list | grep 3.9
|
||||||
|
pyenv install 3.9.12
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pyenv global 3.12.4
|
||||||
|
cd /path/to/your/project
|
||||||
|
pyenv local 3.9.17
|
||||||
```
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user