質問編集履歴

2

情報の追加

2018/02/16 17:39

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -129,3 +129,47 @@
129
129
  AttributeError: 'NoneType' object has no attribute 'splitlines'
130
130
 
131
131
  ```
132
+
133
+
134
+
135
+ 追加の情報です。よろしくお願いします。
136
+
137
+ ```
138
+
139
+ [~] brew list | grep python 2:37:34
140
+
141
+ python3
142
+
143
+ [~] brew list | grep pyenv 2:37:43
144
+
145
+ pyenv
146
+
147
+ pyenv-virtualenv
148
+
149
+ [~] which pyenv 2:37:51
150
+
151
+ /usr/local/bin/pyenv
152
+
153
+ [~] echo $PATH 2:37:58
154
+
155
+ /usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
156
+
157
+ [~] pyenv versions 2:38:05
158
+
159
+ system
160
+
161
+ 3.6.0
162
+
163
+ 3.6.1
164
+
165
+ 3.6.3
166
+
167
+ anaconda3-4.3.1
168
+
169
+ * anaconda3-4.3.1/envs/py3.6.0 (set by /Users/ryosukeyokota/.python-version)
170
+
171
+ anaconda3-4.3.1/envs/tensorflow
172
+
173
+ [~]
174
+
175
+ ```

1

情報の追加

2018/02/16 17:39

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -83,3 +83,49 @@
83
83
 
84
84
 
85
85
  おそらく```Requirement already satisfied: numpy in /Library/Python/2.7/site-packages```がpython2にすでにnumpyはあるからインストールできないよ!といっています。pandas,matplotlibでも同様のエラーです。どうすればこのエラーを解決することができるでしょうか?回答よろしくお願いします。
86
+
87
+
88
+
89
+ 追加の情報です。こちらでも同様にこのようなエラーが出ます。
90
+
91
+ ```
92
+
93
+ [~] pip3 install numpy 0:27:56
94
+
95
+ Requirement already satisfied: numpy in /Library/Python/2.7/site-packages
96
+
97
+ Exception:
98
+
99
+ Traceback (most recent call last):
100
+
101
+ File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main
102
+
103
+ status = self.run(options, args)
104
+
105
+ File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 324, in run
106
+
107
+ requirement_set.prepare_files(finder)
108
+
109
+ File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
110
+
111
+ ignore_dependencies=self.ignore_dependencies))
112
+
113
+ File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 666, in _prepare_file
114
+
115
+ check_dist_requires_python(dist)
116
+
117
+ File "/Library/Python/2.7/site-packages/pip/utils/packaging.py", line 48, in check_dist_requires_python
118
+
119
+ feed_parser.feed(metadata)
120
+
121
+ File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/feedparser.py", line 177, in feed
122
+
123
+ self._input.push(data)
124
+
125
+ File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/feedparser.py", line 99, in push
126
+
127
+ parts = data.splitlines(True)
128
+
129
+ AttributeError: 'NoneType' object has no attribute 'splitlines'
130
+
131
+ ```