質問編集履歴
3
修正依頼に対応
test
CHANGED
File without changes
|
test
CHANGED
@@ -104,11 +104,11 @@
|
|
104
104
|
|
105
105
|
```
|
106
106
|
|
107
|
-
pi@raspberrypi:~/web/cgi-bin $sudo apt-get install python-dev default-libmysqlclient-dev
|
107
|
+
pi@raspberrypi:~/web/cgi-bin $ sudo apt-get install python-dev default-libmysqlclient-dev
|
108
108
|
|
109
|
-
pi@raspberrypi:~/web/cgi-bin $sudo apt-get install python3-dev
|
109
|
+
pi@raspberrypi:~/web/cgi-bin $ sudo apt-get install python3-dev
|
110
110
|
|
111
|
-
pi@raspberrypi:~/web/cgi-bin $pip install mysqlclient
|
111
|
+
pi@raspberrypi:~/web/cgi-bin $ pip install mysqlclient
|
112
112
|
|
113
113
|
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
|
114
114
|
|
@@ -131,3 +131,15 @@
|
|
131
131
|
Successfully installed mysqlclient-1.4.6
|
132
132
|
|
133
133
|
```
|
134
|
+
|
135
|
+
試しにもう一度mysqlclientをインストールしようとしたら既にインストール済と出ます。
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
pi@raspberrypi:~/web/cgi-bin $ pip install mysqlclient
|
140
|
+
|
141
|
+
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
|
142
|
+
|
143
|
+
Requirement already satisfied: mysqlclient in /home/pi/.local/lib/python2.7/site-packages (1.4.6)
|
144
|
+
|
145
|
+
```
|
2
誤字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -90,7 +90,7 @@
|
|
90
90
|
|
91
91
|
|
92
92
|
|
93
|
-
[
|
93
|
+
[gunicorn+Django+MySQLで No module named 'MySQLdb' エラー](https://qiita.com/nrryuya/items/506f16a246da74db9157)
|
94
94
|
|
95
95
|
wsgi.pyが何個かあってどのwsgi.pyをいじればいいか分からず…
|
96
96
|
|
1
修正依頼に対応
test
CHANGED
File without changes
|
test
CHANGED
@@ -90,7 +90,7 @@
|
|
90
90
|
|
91
91
|
|
92
92
|
|
93
|
-
https://qiita.com/nrryuya/items/506f16a246da74db9157
|
93
|
+
[リンク内容](https://qiita.com/nrryuya/items/506f16a246da74db9157)
|
94
94
|
|
95
95
|
wsgi.pyが何個かあってどのwsgi.pyをいじればいいか分からず…
|
96
96
|
|
@@ -100,6 +100,34 @@
|
|
100
100
|
|
101
101
|
### 補足情報(FW/ツールのバージョンなど)
|
102
102
|
|
103
|
+
mysqlclientインストールの流れです。
|
103
104
|
|
105
|
+
```
|
104
106
|
|
107
|
+
pi@raspberrypi:~/web/cgi-bin $sudo apt-get install python-dev default-libmysqlclient-dev
|
108
|
+
|
109
|
+
pi@raspberrypi:~/web/cgi-bin $sudo apt-get install python3-dev
|
110
|
+
|
111
|
+
pi@raspberrypi:~/web/cgi-bin $pip install mysqlclient
|
112
|
+
|
113
|
+
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
|
114
|
+
|
105
|
-
|
115
|
+
Collecting mysqlclient
|
116
|
+
|
117
|
+
Downloading https://files.pythonhosted.org/packages/d0/97/7326248ac8d5049968bf4ec708a5d3d4806e412a42e74160d7f266a3e03a/mysqlclient-1.4.6.tar.gz (85kB)
|
118
|
+
|
119
|
+
100% |????????????????????????????????| 92kB 868kB/s
|
120
|
+
|
121
|
+
Building wheels for collected packages: mysqlclient
|
122
|
+
|
123
|
+
Running setup.py bdist_wheel for mysqlclient ... done
|
124
|
+
|
125
|
+
Stored in directory: /home/pi/.cache/pip/wheels/37/3d/24/5327fa50817a65ed0ee4dc8809e5c39962b0dd5e078ebf4dc1
|
126
|
+
|
127
|
+
Successfully built mysqlclient
|
128
|
+
|
129
|
+
Installing collected packages: mysqlclient
|
130
|
+
|
131
|
+
Successfully installed mysqlclient-1.4.6
|
132
|
+
|
133
|
+
```
|