Hi,
Please remove this directory
C:\Users\prana\AppData\Roaming\Python
to fix your problem.
For common issues like this one, I recommend you to take a look at this
video to solve them in the future:
https://www.youtube.com/watch?v=Ul79ihg41Rs&
Cheers,
Carlos
El 21/06/20 a las 11:58 a. m., Pranav Damu escribió:
An error ocurred while starting the kernel
The error is:
Traceback (most recent call last):
File
"C:\ProgramData\Anaconda3\lib\site‑packages\spyder\plugins\ipythonconsole\plugin.py",
line 1173, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle, **kwargs)
File
"C:\Users\prana\AppData\Roaming\Python\Python37\site‑packages\jupyter_client\manager.py",
line 301, in start_kernel
kernel_cmd, kw = self.pre_start_kernel(**kw)
File
"C:\Users\prana\AppData\Roaming\Python\Python37\site‑packages\jupyter_client\manager.py",
line 248, in pre_start_kernel
self.write_connection_file()
File
"C:\Users\prana\AppData\Roaming\Python\Python37\site‑packages\jupyter_client\connect.py",
line 474, in write_connection_file
kernel_name=self.kernel_name
File
"C:\Users\prana\AppData\Roaming\Python\Python37\site‑packages\jupyter_client\connect.py",
line 138, in write_connection_file
with secure_write(fname) as f:
File "C:\ProgramData\Anaconda3\lib\contextlib.py", line 112, in __enter__
return next(self.gen)
File
"C:\Users\prana\AppData\Roaming\Python\Python37\site‑packages\jupyter_core\paths.py",
line 435, in secure_write
win32_restrict_file_to_user(fname)
File
"C:\Users\prana\AppData\Roaming\Python\Python37\site‑packages\jupyter_core\paths.py",
line 361, in win32_restrict_file_to_user
import win32api
ImportError: DLL load failed: %1 is not a valid Win32 application.
I have tried reinstalling...I even uninstalled my other python
versions for a fresh install, using anaconda-clean, yet still this
problem has recurred.
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/6fb96940-a209-471a-b967-917775482f6fo%40googlegroups.com
<https://groups.google.com/d/msgid/spyderlib/6fb96940-a209-471a-b967-917775482f6fo%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/d319bf1a-14b7-f68b-574d-8635b5f2e959%40gmail.com.