The problem is solved later!!!!
Installation
vscade and Anaconda are installed on their own in Baidu. Python plug-ins are installed in vscade. The file operation of creating . Ipynb
suffix is similar to the web version of Jupiter notebook
Error content:
Kernel died with exit code 1. D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\traitlets\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode. warn( D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\traitlets\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '70f91ecb-d1b9-4e6f-bab4-f4eb00d14e8c' instead of 'b"70f91ecb-d1b9-4e6f-bab4-f4eb00d14e8c"'. warn( Traceback (most recent call last): File "D:\IDE\Anaconda3\envs\pytorch\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "D:\IDE\Anaconda3\envs\pytorch\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\ipykernel_launcher.py", line 16, in <module> app.launch_new_instance() File "D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\traitlets\config\application.py", line 844, in launch_instance app.initialize(argv) File "D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\traitlets\config\application.py", line 87, in inner return method(app, *args, **kwargs) File "D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\ipykernel\kernelapp.py", line 570, in initialize self.write_connection_file() File "D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\ipykernel\kernelapp.py", line 230, in write_connection_file write_connection_file(cf, ip=self.ip, key=self.session.key, transport=self.transport, File "D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\jupyter_client\connect.py", line 212, in write_connection_file with secure_write(fname) as f: File "D:\IDE\Anaconda3\envs\pytorch\lib\contextlib.py", line 113, in __enter__ return next(self.gen) File "D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\jupyter_client\connect.py", line 100, in secure_write win32_restrict_file_to_user(fname) File "D:\IDE\Anaconda3\envs\pytorch\lib\site-packages\jupyter_client\connect.py", line 53, in win32_restrict_file_to_user import win32api ImportError: DLL load failed while importing win32api: 找不到指定的程序。
The solution is:
pip install pywin32==228
Read More:
- Anaconda Jupiter notebook kernel error solution
- On the kernel error of jupyter notebook
- Error kernel restart: restart failed was reported in the background of jupyter notebook
- A solution to the kernel error of Jupiter notebook in Anaconda under Windows 10
- Anaconda + vscode usage problem summary
- Git did not exit cleanly (exit code 128)
- To solve Anaconda error: command error out with exit status 1
- Install anaconda error: failed to create anaconda menus
- command/usr/bin/codesign failed with exit code 1- code sign error
- code is 143 Container exited with a non-zero exit code 143
- Solutions to the problem of “collect2.exe: error: LD returned 1” exit “status when writing C + + with vscode
- Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
- woeusb Installation failed Exit code 256
- Anaconda create environment, delete environment, activate environment, exit environment
- Solution to abnormal errors during startup of Python’s Anaconda
- Compiling the pi_kernel source code appears: fatal error: openssl/opensslv.h: No such file or directory
- Cargo invoice has failed: error: exit code: 101
- [solution] MAC: stack error: ` gyp ‘failed with exit code:1
- Vscode code block / full text collapse / expand shortcut
- Finished with error: Gradle task assembleDebug failed with exit code 1