質問編集履歴

1

RasPiの時間設定を更新した後に試しました。

2017/12/08 07:32

投稿

ReoReo
ReoReo

スコア6

test CHANGED
File without changes
test CHANGED
@@ -67,3 +67,77 @@
67
67
  rasberryPi 3のLXTerminalで試みました。
68
68
 
69
69
  pythonのバージョンは2.7.9 pipのバージョンは1.5.6です
70
+
71
+
72
+
73
+ ###追記
74
+
75
+ 追記
76
+
77
+ RasberryPi 自体の時間設定がずれていたので、それを直したのちに同様のコマンドを実行した結果、エラーが出ました。
78
+
79
+ ```
80
+
81
+ Downloading/unpacking pip from https://pypi.python.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl#md5=297dbd16ef53bcef0447d245815f5144
82
+
83
+ Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB): 1.3MB downloaded
84
+
85
+ Installing collected packages: pip
86
+
87
+ Found existing installation: pip 1.5.6
88
+
89
+ Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS
90
+
91
+ Can't roll back pip; was not uninstalled
92
+
93
+ Cleaning up...
94
+
95
+ Exception:
96
+
97
+ Traceback (most recent call last):
98
+
99
+ File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
100
+
101
+ status = self.run(options, args)
102
+
103
+ File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 295, in run
104
+
105
+ requirement_set.install(install_options, global_options, root=options.root_path)
106
+
107
+ File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1436, in install
108
+
109
+ requirement.install(install_options, global_options, *args, **kwargs)
110
+
111
+ File "/usr/lib/python2.7/dist-packages/pip/req.py", line 672, in install
112
+
113
+ self.move_wheel_files(self.source_dir, root=root)
114
+
115
+ File "/usr/lib/python2.7/dist-packages/pip/req.py", line 902, in move_wheel_files
116
+
117
+ pycompile=self.pycompile,
118
+
119
+ File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 214, in move_wheel_files
120
+
121
+ clobber(source, lib_dir, True)
122
+
123
+ File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 204, in clobber
124
+
125
+ os.makedirs(destdir)
126
+
127
+ File "/usr/lib/python2.7/os.py", line 157, in makedirs
128
+
129
+ mkdir(name, mode)
130
+
131
+ OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pip-9.0.1.dist-info'
132
+
133
+
134
+
135
+ Storing debug log for failure in /home/pi/.pip/pip.log
136
+
137
+
138
+
139
+ ```
140
+
141
+
142
+
143
+ 以上。よろしくお願いします。