質問編集履歴
3
タイトルの改善
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Tensorflow ImportError
|
test
CHANGED
File without changes
|
2
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
5
|
+
tensorflowをちゃんとインストールしたい!!
|
6
6
|
|
7
7
|
|
8
8
|
|
1
参照記事の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,8 +18,6 @@
|
|
18
18
|
|
19
19
|
```
|
20
20
|
|
21
|
-
Using TensorFlow backend.
|
22
|
-
|
23
21
|
---------------------------------------------------------------------------
|
24
22
|
|
25
23
|
ImportError Traceback (most recent call last)
|
@@ -84,93 +82,9 @@
|
|
84
82
|
|
85
83
|
ImportError Traceback (most recent call last)
|
86
84
|
|
87
|
-
<ipython-input-1-
|
85
|
+
<ipython-input-11-d6579f534729> in <module>
|
88
|
-
|
89
|
-
|
86
|
+
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
~\Anaconda3\lib\site-packages\keras\__init__.py in <module>
|
94
|
-
|
95
|
-
1 from __future__ import absolute_import
|
96
|
-
|
97
|
-
2
|
98
|
-
|
99
|
-
----> 3 from . import utils
|
100
|
-
|
101
|
-
4 from . import activations
|
102
|
-
|
103
|
-
5 from . import applications
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
~\Anaconda3\lib\site-packages\keras\utils\__init__.py in <module>
|
108
|
-
|
109
|
-
4 from . import data_utils
|
110
|
-
|
111
|
-
5 from . import io_utils
|
112
|
-
|
113
|
-
----> 6 from . import conv_utils
|
114
|
-
|
115
|
-
7 from . import losses_utils
|
116
|
-
|
117
|
-
8 from . import metrics_utils
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
~\Anaconda3\lib\site-packages\keras\utils\conv_utils.py in <module>
|
122
|
-
|
123
|
-
7 from six.moves import range
|
124
|
-
|
125
|
-
8 import numpy as np
|
126
|
-
|
127
|
-
----> 9 from .. import backend as K
|
128
|
-
|
129
|
-
10
|
130
|
-
|
131
|
-
11
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
~\Anaconda3\lib\site-packages\keras\backend\__init__.py in <module>
|
136
|
-
|
137
|
-
----> 1 from .load_backend import epsilon
|
138
|
-
|
139
|
-
2 from .load_backend import set_epsilon
|
140
|
-
|
141
|
-
3 from .load_backend import floatx
|
142
|
-
|
143
|
-
4 from .load_backend import set_floatx
|
144
|
-
|
145
|
-
5 from .load_backend import cast_to_floatx
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
~\Anaconda3\lib\site-packages\keras\backend\load_backend.py in <module>
|
150
|
-
|
151
|
-
88 elif _BACKEND == 'tensorflow':
|
152
|
-
|
153
|
-
89 sys.stderr.write('Using TensorFlow backend.\n')
|
154
|
-
|
155
|
-
---> 90 from .tensorflow_backend import *
|
156
|
-
|
157
|
-
91 else:
|
158
|
-
|
159
|
-
92 # Try and load external backend.
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
~\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py in <module>
|
164
|
-
|
165
|
-
3 from __future__ import print_function
|
166
|
-
|
167
|
-
4
|
168
|
-
|
169
|
-
---->
|
87
|
+
----> 1 import tensorflow
|
170
|
-
|
171
|
-
6 from tensorflow.python.eager import context
|
172
|
-
|
173
|
-
7 from tensorflow.python.framework import device as tfdev
|
174
88
|
|
175
89
|
|
176
90
|
|
@@ -266,7 +180,7 @@
|
|
266
180
|
|
267
181
|
```python
|
268
182
|
|
269
|
-
import
|
183
|
+
import tensorflow
|
270
184
|
|
271
185
|
```
|
272
186
|
|
@@ -276,7 +190,15 @@
|
|
276
190
|
|
277
191
|
|
278
192
|
|
193
|
+
pip install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0-py3-none-any.whl
|
194
|
+
|
195
|
+
|
196
|
+
|
279
|
-
|
197
|
+
conda install python=3.6.6
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
pip3 install --upgrade tensorflow==2.2.0
|
280
202
|
|
281
203
|
|
282
204
|
|
@@ -287,3 +209,13 @@
|
|
287
209
|
windows10
|
288
210
|
|
289
211
|
jupyter lab
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
参考にした記事
|
216
|
+
|
217
|
+
https://tomowarkar.com/python3-7-tensorflow-install/
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
https://pycarnival.com/tensorflow_python37/
|