Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3d6ef1b

Browse files
committed
the python command upgrade
1 parent 2b0bdc3 commit 3d6ef1b

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

‎Temp/bash/python_command.md‎

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,21 @@ pip3 install -e .
4242
# pip list
4343
pip2 list > ./Temp/txt/python2_pip2_list.txt
4444
pip3 list > ./Temp/txt/python3_pip3_list.txt
45-
python2 -m pip2 list > ./Temp/txt/2021_python2_pip2_list.txt
46-
python3 -m pip3 list > ./Temp/txt/2021_python3_pip3_list.txt
45+
46+
pip2 list > ./Temp/txt/2021_python2_pip2_list.txt
47+
pip3 list > ./Temp/txt/2021_python3_pip3_list.txt
48+
49+
python2 -m pip list > ./Temp/txt/2021_python2_pip2_list.txt
50+
python3 -m pip list > ./Temp/txt/2021_python3_pip3_list.txt
4751
# pip freeze
4852
pip2 freeze > ./Temp/txt/python2_pip2_freeze.txt
4953
pip3 freeze > ./Temp/txt/python3_pip3_freeze.txt
50-
python2 -m pip2 freeze > ./Temp/txt/2021_python2_pip2_freeze.txt
51-
python3 -m pip3 freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
54+
55+
pip2 freeze > ./Temp/txt/2021_python2_pip2_freeze.txt
56+
pip3 freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
57+
58+
python2 -m pip freeze > ./Temp/txt/2021_python2_pip2_freeze.txt
59+
python3 -m pip freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
5260
```
5361

5462
### 2.3. pip install
@@ -60,15 +68,15 @@ python3 -m pip3 freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
6068
pip2 install -r ./requirements.txt
6169
pip3 install -r ./requirements.txt
6270

63-
python2 -m pip2 install -r ./requirements.txt
64-
python3 -m pip3 install -r ./requirements.txt
71+
python2 -m pip install -r ./requirements.txt
72+
python3 -m pip install -r ./requirements.txt
6573

6674
# the base chain component requirements
6775
pip2 install -r ./Temp/archives/material/requirements.txt
6876
pip3 install -r ./Temp/archives/material/requirements.txt
6977

70-
python2 -m pip2 install -r ./Temp/archives/material/requirements.txt
71-
python3 -m pip3 install -r ./Temp/archives/material/requirements.txt
78+
python2 -m pip install -r ./Temp/archives/material/requirements.txt
79+
python3 -m pip install -r ./Temp/archives/material/requirements.txt
7280
```
7381

7482
#### 2.3.2. pip install xxx

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /