misc
This commit is contained in:
16
python/pip_conda.md
Normal file
16
python/pip_conda.md
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
pip list --outdated
|
||||
|
||||
#> pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
|
||||
|
||||
PS> pip list --outdated --format=json | ConvertFrom-Json | ForEach-Object { pip install --upgrade $_.name }
|
||||
|
||||
|
||||
|
||||
|
||||
pip freeze > requirements.txt
|
||||
|
||||
|
||||
pip install -r requirements.txt
|
||||
|
||||
|
Reference in New Issue
Block a user