Sublime Forum

Error6034 when trying to load python-python or python-ipytho

#1

Hi, everytime when I try to dive into the sublimerepl-python-python or ipython, ST2 gives me this error message, and with ipython, it gives me the further error message like

Traceback (most recent call last):
File “C:\Users\zhanglu\AppData\Roaming\Sublime Text 2\Packages/SublimeREPL/config/Python/ipy_repl.py”, line 52, in
embedded_shell.initialize()
File “”, line 2, in initialize
File “C:\python34\lib\site-packages\IPython\config\application.py”, line 92, in catch_config_error
return method(app, args, *kwargs)
File “C:\python34\lib\site-packages\IPython\terminal\ipapp.py”, line 332, in initialize
self.init_shell()
File “C:\python34\lib\site-packages\IPython\terminal\console\app.py”, line 107, in init_shell
IPythonConsoleApp.initialize(self)
File “C:\python34\lib\site-packages\IPython\consoleapp.py”, line 385, in initialize
self.init_kernel_manager()
File “C:\python34\lib\site-packages\IPython\consoleapp.py”, line 341, in init_kernel_manager
self.kernel_manager.start_kernel(extra_arguments=self.kernel_argv)
File “C:\python34\lib\site-packages\IPython\kernel\manager.py”, line 208, in start_kernel
self.write_connection_file()
File “C:\python34\lib\site-packages\IPython\kernel\connect.py”, line 484, in write_connection_file
signature_scheme=self.session.signature_scheme,
File “C:\python34\lib\site-packages\IPython\kernel\connect.py”, line 114, in write_connection_file
sock.bind((’’, 0))
LookupError: unknown encoding: idna

How to fix this problem?
Besides,is the ipython is bundled with sublimerepl, because I also install another ipython package in my python path. Is there any possiblity for me to use the python and ipython installed in my own dictionary through STrepl? Thank you

0 Likes

#2

I don’t know if it is realted, but I’m seeing you are mixing python2 (ST2) and python3 (ST3); Maybe be better for you to switch to ST3.

0 Likes