質問編集履歴

1

最初の問題から内容が変わってしまったため変更しました

2020/12/06 09:13

投稿

nazuna00
nazuna00

スコア1

test CHANGED
@@ -1 +1 @@
1
- tensorflow_datasetsのインポート
1
+ spyderがうまく機能しない
test CHANGED
@@ -1,169 +1,65 @@
1
- tensorflow_datasetsのインポートができません
1
+ tensorflow_datasetsのインポートができず、プロンプトのほうでいろいろいじっていたら今で処理されていたところも正常に機能しなくなってしまいました
2
-
3
- 下記でインポートをしようとするとエラーが排出されます。
4
2
 
5
3
 
6
4
 
5
+ アンストして再度インストールしたのですがうまくいきません。
6
+
7
+ どのようにすればいいでしょうか?
8
+
9
+
10
+
11
+ ちなみに実行すると以下のエラーが出ます。
12
+
7
- import tensorflow_datasets as tfds
13
+ TypeError: super(type, obj): obj must be an instance or subtype of type
14
+
15
+
16
+
17
+ 現在入っているもののバージョンは以下の通りです。
8
18
 
9
19
 
10
20
 
11
21
 
12
22
 
13
- 〇エラー
14
23
 
24
+
25
+ conda 4.9.2 py36haa95532_0
26
+
15
- cannot import name 'builder' from 'tensorflow_datasets.core.registered' (C:\Users\user\anaconda3\lib\site-packages\tensorflow_datasets\core\registered.py)
27
+ conda-build 3.17.7 py36_0
28
+
29
+ conda-env 2.6.0 1
30
+
31
+ conda-package-handling 1.7.2 py36h76e460a_0
32
+
33
+ conda-verify 3.4.2 py_1
34
+
35
+ console_shortcut 0.1.1 4
16
36
 
17
37
 
18
38
 
39
+ keras 2.3.1 pypi_0 pypi
19
40
 
41
+ keras-applications 1.0.8 pypi_0 pypi
20
42
 
21
- 調べたところpythonのバージョンが3.6じゃないと使えないということだったため(現在はPython 3.7.6)ダウングレードをしようとしたところこちらもうまくいきませんでした。
43
+ keras-preprocessing 1.1.2 pypi_0 pypi
22
-
23
- 長すぎたので一部抜粋ですが、コンソールパネルでインストールしたときの文を載せておきます。
24
44
 
25
45
 
26
46
 
27
- どなたかわかる方、教えていただきたいです。
47
+ pip 20.3.1 pypi_0 pypi
28
48
 
29
49
 
30
50
 
31
- 処理の最後の文章は下記です。
51
+ python 3.6.6 hea74fb7_0
32
52
 
33
- Package et_xmlfile conflicts for:
53
+ python-dateutil 2.8.1 py_0
34
54
 
35
- openpyxl -> et_xmlfile
55
+ python-jsonrpc-server 0.4.0 py_0
36
56
 
37
- et_xmlfile
57
+ python-language-server 0.35.1 py_0
38
58
 
39
- anaconda==2020.02 -> openpyxl==3.0.3=py_0 -> et_xmlfile
59
+ python-libarchive-c 2.9 py_0
40
60
 
41
- anaconda==2020.02 -> et_xmlfile==1.0.1[build='py37_0|py38_0|py36h3d2d736_0']
61
+ pytz 2020.1 py_0
42
62
 
43
63
 
44
64
 
45
- Package conda-env conflicts for:
46
-
47
- conda-env
48
-
49
- conda-build -> conda[version='>=4.5'] -> conda-env[version='>=2.6']
50
-
51
-
52
-
53
- Package backports.shutil_which conflicts for:
54
-
55
- terminado -> pywinpty -> backports.shutil_which
56
-
57
- pywinpty -> backports.shutil_which
58
-
59
-
60
-
61
- Package conda conflicts for:
62
-
63
- conda-build -> conda[version='>=4.3|>=4.5']
64
-
65
- conda[version='>=4.9.2']
66
-
67
-
68
-
69
- Package pep8 conflicts for:
70
-
71
- anaconda==2020.02 -> pep8==1.7.1[build='py37_0|py38_0|py36_0']
72
-
73
- pep8
74
-
75
-
76
-
77
- ここからが最初の抜粋部分です。
78
-
79
- (base) C:\Users\user>conda install python=3.6.8
80
-
81
- Collecting package metadata (current_repodata.json): done
82
-
83
- Solving environment: failed with initial frozen solve. Retrying with flexible solve.
84
-
85
- Collecting package metadata (repodata.json): done
86
-
87
- Solving environment: failed with initial frozen solve. Retrying with flexible solve.
88
-
89
- Solving environment: \
90
-
91
- Found conflicts! Looking for incompatible packages.
92
-
93
- This can take several minutes. Press CTRL-C to abort.
94
-
95
- Examining entrypoints: 14%|████▊ | 46/326 [00:17<03:39, 1.28it/s]-Examining yapf: 25%|██████████ | 80/326 [00:26<01:41, 2.43it/s]/Examining certifi: 31%|███████████▍ | 101/326 [00:39<01:16, 2.95it/s]/Examining clyent: 38%|██████████████▎ | 123/326 [00:44<01:10, 2.89it/s]\Examining statsmodels: 44%|██████████████▎ | 142/326 [00:47<00:38, 4.78it/s]|Examining keyring: 44%|████████████████ | 142/326 [00:48<00:38, 4.78it/s]-Examining zipp: 46%|██████████████████▍ | 150/326 [00:49<00:45, 3.85it/s]-Examining watchdog: 49%|█████████████████▊ | 161/326 [00:52<00:54, 3.01it/s]-Examining m2w64-gmp: 54%|███████████████████ | 177/326 [00:53<00:22, 6.70it/s]/Examining scikit-image: 69%|██████████████████████▏ | 226/326 [01:07<01:07, 1.48it/s]\Examining pandas: 70%|██████████████████████████▌ | 228/326 [01:08<01:01, 1.58it/s]|Examining libpng: 73%|███████████████████████████▊ | 239/326 [01:13<01:47, 1.24s/it]-Examining cycler: 94%|███████████████████████████████████▊ | 307/326 [01:28<00:05, 3.43it/s]|Examining conflict for ipywidgets jsonschema anaconda nbconvert jupyterlab_server nbformat note-Examining conflict for pyyaml conda-verify anaconda-navigator anaconda anaconda-client conda-bu-Examining conflict for astropy anaconda grpcio joblib networkx pygments nose anaconda-client bl-Examining conflict for astropy h5py anaconda patsy imageio keras-preprocessing bkcharts scikit-/Examining conflict for astropy pytest-astropy-header pytest-remotedata pytest-arraydiff pytest |Examining conflict for astropy pytest-doctestplus jsonschema pluggy pytest-remotedata path.py p-Examining conflict for zstd anaconda blosc python-libarchive-c conda-build conda-package-handli-Examining conflict for anaconda mock pytables tensorflow-estimator tensorflow-base: 20%|▏| 66//Examining conflict for nltk anaconda pip matplotlib packaging pytest pyparsing seaborn scikit-i-Examining conflict for spyder anaconda parso python-language-server jedi ipython: 30%|▎| 97/32|Examining conflict for spyder pytest attrs hypothesis tensorflow-datasets: 33%|▎| 106/326 [12:\Examining conflict for conda-verify backports.tempfile conda-build: 40%|▍| 130/326 [13:18<13:0|Examining conflict for anaconda path path.py: 57%|█████▋ | 186/326 [18:31<13:42, 5.88s/it]|Examining conflict for conda-build glob2 anaconda: 61%|███ | 198/326 [19:15<09:49, 4.61s/it]-Examining conflict for scikit-learn nltk anaconda patsy keras-preprocessing statsmodels tslearn-Examining conflict for nltk tensorboard: 65%|█████████▊ | 213/326 [20:11<10:13, 5.43s/it]|Examining conflict for scikit-learn tslearn nltk: 65%|███▉ | 213/326 [20:12<10:13, 5.43s/it]\Examining conflict for scikit-learn tslearn nltk anaconda: 66%|▋| 215/326 [20:17<05:09, 2.79s-Examining conflict for pyopenssl cryptography paramiko urllib3: 71%|▋| 231/326 [21:03<07:26, /Examining conflict for bcrypt python pip: 76%|██████████▌ | 247/326 [22:36<08:19, 6.32s/it]|Examining conflict for anaconda werkzeug flask tensorboard tensorflow-estimator tensorflow-base-Examining conflict for libxslt anaconda lxml: 88%|████████▊ | 286/326 [25:25<02:53, 4.34s/it]-Examining conflict for spyder bcrypt anaconda paramiko prometheus_client: 90%|▉| 295/326 [26:1\Examining conflict for cython anaconda: 98%|███████████████▌| 318/326 [28:04<00:43, 5.38s/it]\Examining conflict for seaborn anaconda statsmodels: 99%|██▉| 323/326 [28:20<00:09, 3.28s/it]\Examining conflict for jupyter _ipyw_jlab_nb_ext_conf ipywidgets anaconda: : 340it [29:19, 3.82Examining conflict for jupyter _ipyw_jlab_nb_ext_conf ipywidgets anaconda: : 341it [29:19, 4.24Examining conflict for gevent anaconda: : 341it [29:24, 4.24s/it] Examining conflict for jupyterlab_server jupyterlab anaconda _ipyw_jlab_nb_ext_conf: : 348it [30Examining conflict for jupyterlab_server jupyterlab anaconda _ipyw_jlab_nb_ext_conf: : 349it [30Examining conflict for _ipyw_jlab_nb_ext_conf jupyterlab anaconda: : 349it [30:07, 5.31s/it] failed - | -
96
-
97
-
98
-
99
- UnsatisfiableError: The following specifications were found to be incompatible with a past
100
-
101
- explicit spec that is not an explicit spec in this operation (python):
102
-
103
-
104
-
105
- - python=3.6.8
106
-
107
-
108
-
109
- The following specifications were found to be incompatible with each other:
110
-
111
-
112
-
113
- Output in format: Requested package -> Available versions
114
-
115
-
116
-
117
- Package certifi conflicts for:
118
-
119
- urllib3 -> certifi
120
-
121
- conda[version='>=4.9.2'] -> requests[version='>=2.18.4,<3'] -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
122
-
123
- anaconda==2020.02 -> certifi==2019.11.28[build='py37_0|py38_0|py36_0']
124
-
125
- networkx -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
126
-
127
- sphinx -> requests[version='>=2.5.0'] -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
128
-
129
- pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
130
-
131
- flake8 -> setuptools[version='>=30.0.0'] -> certifi[version='>=2016.09|>=2016.9.26']
132
-
133
- nltk -> requests -> certifi[version='>=2017.4.17']
134
-
135
- anaconda-project -> requests -> certifi[version='>=2017.4.17']
136
-
137
- astropy -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
138
-
139
- scikit-image -> matplotlib-base[version='>=2.0.0'] -> certifi[version='>=2020.06.20']
140
-
141
- gevent -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
142
-
143
- jsonschema -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
144
-
145
- python-language-server -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
146
-
147
- protobuf -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
148
-
149
- conda-build -> requests -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
150
-
151
- jupyter_client -> tornado[version='>=4.1'] -> certifi
152
-
153
- ipython -> setuptools[version='>=18.5'] -> certifi[version='>=2016.09|>=2016.9.26']
154
-
155
- requests -> certifi[version='>=2017.4.17']
156
-
157
- matplotlib-base -> certifi[version='>=2020.06.20']
158
-
159
- tensorflow-datasets -> requests[version='>=2.19.0'] -> certifi[version='>=2017.4.17']
160
-
161
- matplotlib-base -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
162
-
163
- bleach -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
164
-
165
- sympy -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
166
-
167
- bokeh -> tornado[version='>=4.3'] -> certifi[version='>=2017.4.17']
168
-
169
- joblib -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
65
+ tensorflow 1.15.4 pypi_0 pypi