Spyder wont work..

44 views
Skip to first unread message

Pranav Damu

unread,
Jun 22, 2020, 11:41:48 AM6/22/20
to spyder
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.

Carlos Córdoba

unread,
Jun 22, 2020, 11:45:04 AM6/22/20
to spyd...@googlegroups.com
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ó:
--
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 spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/6fb96940-a209-471a-b967-917775482f6fo%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages