質問編集履歴
3
質問の解答
test
CHANGED
File without changes
|
test
CHANGED
@@ -98,6 +98,72 @@
|
|
98
98
|
|
99
99
|
|
100
100
|
|
101
|
+
```
|
102
|
+
|
103
|
+
ubuntu@ubuntu:~$ sudo apt-get install python3-pip
|
104
|
+
|
105
|
+
Reading package lists... Done
|
106
|
+
|
107
|
+
Building dependency tree
|
108
|
+
|
109
|
+
Reading state information... Done
|
110
|
+
|
111
|
+
The following NEW packages will be installed:
|
112
|
+
|
113
|
+
python3-pip
|
114
|
+
|
115
|
+
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
|
116
|
+
|
117
|
+
Need to get 230 kB of archives.
|
118
|
+
|
119
|
+
After this operation, 1047 kB of additional disk space will be used.
|
120
|
+
|
121
|
+
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 python3-pip all 20.0.2-5ubuntu1.1 [230 kB]
|
122
|
+
|
123
|
+
Fetched 230 kB in 2s (135 kB/s)
|
124
|
+
|
125
|
+
Selecting previously unselected package python3-pip.
|
126
|
+
|
127
|
+
(Reading database ... 138067 files and directories currently installed.)
|
128
|
+
|
129
|
+
Preparing to unpack .../python3-pip_20.0.2-5ubuntu1.1_all.deb ...
|
130
|
+
|
131
|
+
Unpacking python3-pip (20.0.2-5ubuntu1.1) ...
|
132
|
+
|
133
|
+
Setting up python3-pip (20.0.2-5ubuntu1.1) ...
|
134
|
+
|
135
|
+
Processing triggers for man-db (2.9.1-1) ...
|
136
|
+
|
137
|
+
ubuntu@ubuntu:~$ pip3 uninstall pip
|
138
|
+
|
139
|
+
Uninstalling pip-18.1:
|
140
|
+
|
141
|
+
Would remove:
|
142
|
+
|
143
|
+
/home/ubuntu/.local/bin/pip
|
144
|
+
|
145
|
+
/home/ubuntu/.local/bin/pip3
|
146
|
+
|
147
|
+
/home/ubuntu/.local/bin/pip3.8
|
148
|
+
|
149
|
+
/home/ubuntu/.local/lib/python3.8/site-packages/pip-18.1.dist-info/*
|
150
|
+
|
151
|
+
/home/ubuntu/.local/lib/python3.8/site-packages/pip/*
|
152
|
+
|
153
|
+
Proceed (y/n)? Y
|
154
|
+
|
155
|
+
Successfully uninstalled pip-18.1
|
156
|
+
|
157
|
+
ubuntu@ubuntu:~$ pip -V
|
158
|
+
|
159
|
+
-bash: /home/ubuntu/.local/bin/pip: No such file or directory
|
160
|
+
|
161
|
+
ubuntu@ubuntu:~$ pip3 -V
|
162
|
+
|
163
|
+
-bash: /home/ubuntu/.local/bin/pip3: No such file or directory
|
164
|
+
|
165
|
+
```
|
166
|
+
|
101
167
|
|
102
168
|
|
103
169
|
### 補足情報(FW/ツールのバージョンなど)
|
2
質問の解答
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,6 +50,52 @@
|
|
50
50
|
|
51
51
|
|
52
52
|
|
53
|
+
###試したこと
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
```
|
58
|
+
|
59
|
+
ubuntu@ubuntu:~$ sudo apt-get remove python3-pip
|
60
|
+
|
61
|
+
Reading package lists... Done
|
62
|
+
|
63
|
+
Building dependency tree
|
64
|
+
|
65
|
+
Reading state information... Done
|
66
|
+
|
67
|
+
The following packages were automatically installed and are no longer required:
|
68
|
+
|
69
|
+
python-pip-whl python3-wheel
|
70
|
+
|
71
|
+
Use 'sudo apt autoremove' to remove them.
|
72
|
+
|
73
|
+
The following packages will be REMOVED:
|
74
|
+
|
75
|
+
python3-pip
|
76
|
+
|
77
|
+
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
|
78
|
+
|
79
|
+
After this operation, 1047 kB disk space will be freed.
|
80
|
+
|
81
|
+
Do you want to continue? [Y/n] Y
|
82
|
+
|
83
|
+
(Reading database ... 138268 files and directories currently installed.)
|
84
|
+
|
85
|
+
Removing python3-pip (20.0.2-5ubuntu1.1) ...
|
86
|
+
|
87
|
+
Processing triggers for man-db (2.9.1-1) ...
|
88
|
+
|
89
|
+
ubuntu@ubuntu:~$ pip -V
|
90
|
+
|
91
|
+
pip 18.1 from /home/ubuntu/.local/lib/python3.8/site-packages/pip (python 3.8)
|
92
|
+
|
93
|
+
ubuntu@ubuntu:~$ pip3 -V
|
94
|
+
|
95
|
+
pip 18.1 from /home/ubuntu/.local/lib/python3.8/site-packages/pip (python 3.8)
|
96
|
+
|
97
|
+
```
|
98
|
+
|
53
99
|
|
54
100
|
|
55
101
|
|
1
記載ミス
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|