Reputation: 346
My problem is that when I start Spyder, the following error appears:
Traceback (most recent call last):
File "C:\Anaconda2\lib\site‑packages\spyder\plugins\ipythonconsole.py", line 1544, in create_kernel_manager_and_kernel_client
config=None, autorestart=True)
File "C:\Anaconda2\lib\site‑packages\traitlets\config\configurable.py", line 73, in __init__
super(Configurable, self).__init__(**kwargs)
File "C:\Anaconda2\lib\site‑packages\traitlets\traitlets.py", line 997, in __init__
setattr(self, key, value)
File "C:\Anaconda2\lib\site‑packages\traitlets\traitlets.py", line 585, in __set__
self.set(obj, value)
File "C:\Anaconda2\lib\site‑packages\traitlets\traitlets.py", line 559, in set
new_value = self._validate(obj, value)
File "C:\Anaconda2\lib\site‑packages\traitlets\traitlets.py", line 591, in _validate
value = self.validate(obj, value)
File "C:\Anaconda2\lib\site‑packages\traitlets\traitlets.py", line 2053, in validate
raise TraitError(msg.format(value, self.name, class_of(obj)))
TraitError: Could not decode 'C:\\Users\\Jos\xe9 Miguel\\AppData\\Roaming\\jupyter\\runtime\\kernel�f89b82d15.json' for unicode trait 'connection_file' of a QtKernelManager instance.
I have tried to install Anaconda2 in a path that includes only Unicode characters (especifically C:\Anaconda2\
), but it doesn't work neither.
I hope someone can help me. Thank you for your responses.
Upvotes: 1
Views: 347
Reputation: 34136
(Spyder maintainer here) You have two options to fix this:
C:\\Users\\Jos\xe9 Miguel
) to something that doesn't have unicode characters nor spaces (e.g. C:\\Users\\Jose
)Upvotes: 1