質問編集履歴

2

追加

2021/06/24 06:26

投稿

tomohikoikeda
tomohikoikeda

スコア5

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- ```
9
+ [W 15:09:40.763 NotebookApp] Notebook Untitled1.ipynb is not trusted [I 15:09:41.119 NotebookApp] Kernel started: 046a2c82-b7c2-4614-87d7-79eafed4b19f, name: python3 Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\ipykernel_launcher.py", line 16, in <module> app.launch_new_instance() File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\traitlets\config\application.py", line 844, in launch_instance app.initialize(argv) File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\traitlets\config\application.py", line 87, in inner return method(app, *args, **kwargs) File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\ipykernel\kernelapp.py", line 577, in initialize self.write_connection_file() File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\ipykernel\kernelapp.py", line 232, in write_connection_file iopub_port=self.iopub_port, control_port=self.control_port) File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\jupyter_client\connect.py", line 136, in write_connection_file with secure_write(fname) as f: File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\contextlib.py", line 112, in __enter__ return next(self.gen) File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\jupyter_core\paths.py", line 461, in secure_write win32_restrict_file_to_user(fname) File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\jupyter_core\paths.py", line 387, in win32_restrict_file_to_user import win32api ImportError: DLL load failed: 指定されたモジュールが見つかりません。 [I 15:09:44.103 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports [IPKernelApp] ERROR | Failed to load connection file: 'C:\Users\tomoh\AppData\Roaming\jupyter\runtime\kernel-046a2c82-b7c2-4614-87d7-79eafed4b19f.json' Traceback (most recent call last): File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\ipykernel\kernelapp.py", line 257, in init_connection_file self.load_connection_file() File "C:\Users\tomoh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\jupyter_client\connect.py", line 494, in load_connection_file info = json.load(f) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\json\__init__.py", line 296, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\json\__init__.py", line 348, in loads return _default_decoder.decode(s) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ```
10
10
 
11
11
  KernelRestarter: restart failed
12
12
 

1

誤記訂正

2021/06/24 06:26

投稿

tomohikoikeda
tomohikoikeda

スコア5

test CHANGED
File without changes
test CHANGED
@@ -8,13 +8,13 @@
8
8
 
9
9
  ```
10
10
 
11
- エラーメッセージ
11
+ KernelRestarter: restart failed
12
+
13
+ [W 13:00:52.837 NotebookApp] Kernel 179c6d7d-b2a7-412f-a957-2006a0f88c5f died, removing from map.
12
14
 
13
15
  ```
14
16
 
15
- KernelRestarter: restart failed
16
17
 
17
- [W 13:00:52.837 NotebookApp] Kernel 179c6d7d-b2a7-412f-a957-2006a0f88c5f died, removing from map.
18
18
 
19
19
  ### 該当のソースコード
20
20
 
@@ -22,11 +22,11 @@
22
22
 
23
23
  ```ここに言語名を入力
24
24
 
25
- ソースコード
25
+ python
26
26
 
27
27
  ```
28
28
 
29
- python
29
+
30
30
 
31
31
  ### 試したこと
32
32