question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SublimeJEDI not working on Windows10

See original GitHub issue

I just freshly installed Sublime Text 3 , and clone SublimeJEDI to C:\Users\xxxx\AppData\Roaming\Sublime Text 3\Packages . But it didn’t work when I write python code to test , no completion , and shortcut keys like [“alt+ctrl+d”] didn’t do anything.

Here’s log from sublime text console:

Traceback (most recent call last):
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\cache.py", line 140, in wrapper
    return dct[key]
KeyError: ((), frozenset())

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\cache.py", line 140, in wrapper
    return dct[key]
KeyError: ((), frozenset())

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./python3.3/subprocess.py", line 1104, in _execute_child
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 685, in on_query_completions
    res = vel.on_query_completions(prefix, locations)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\sublime_jedi\completion.py", line 154, in on_query_completions
    location=locations[0]
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\sublime_jedi\daemon.py", line 75, in ask_daemon_with_timeout
    daemon = _get_daemon(view)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\sublime_jedi\daemon.py", line 35, in _get_daemon
    DAEMONS[window_id] = Daemon(settings=get_settings(view))
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\sublime_jedi\daemon.py", line 150, in __init__
    self.sys_path = self.env.get_sys_path()
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\cache.py", line 142, in wrapper
    result = method(self, *args, **kwargs)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\api\environment.py", line 116, in get_sys_path
    return self._get_subprocess().get_sys_path()
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\evaluate\compiled\subprocess\__init__.py", line 169, in get_sys_path
    return self._send(None, functions.get_sys_path, (), {})
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\evaluate\compiled\subprocess\__init__.py", line 197, in _send
    pickle_dump(data, self._process.stdin, self._pickle_protocol)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\cache.py", line 142, in wrapper
    result = method(self, *args, **kwargs)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\evaluate\compiled\subprocess\__init__.py", line 152, in _process
    bufsize=-1
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\_compatibility.py", line 510, in __init__
    super(GeneralizedPopen, self).__init__(*args, **kwargs)
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1110, in _execute_child
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
Traceback (most recent call last):
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\cache.py", line 140, in wrapper
    return dct[key]
KeyError: ((), frozenset())

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\cache.py", line 140, in wrapper
    return dct[key]
KeyError: ((), frozenset())

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./python3.3/subprocess.py", line 1104, in _execute_child
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 685, in on_query_completions
    res = vel.on_query_completions(prefix, locations)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\sublime_jedi\completion.py", line 154, in on_query_completions
    location=locations[0]
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\sublime_jedi\daemon.py", line 75, in ask_daemon_with_timeout
    daemon = _get_daemon(view)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\sublime_jedi\daemon.py", line 35, in _get_daemon
    DAEMONS[window_id] = Daemon(settings=get_settings(view))
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\sublime_jedi\daemon.py", line 150, in __init__
    self.sys_path = self.env.get_sys_path()
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\cache.py", line 142, in wrapper
    result = method(self, *args, **kwargs)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\api\environment.py", line 116, in get_sys_path
    return self._get_subprocess().get_sys_path()
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\evaluate\compiled\subprocess\__init__.py", line 169, in get_sys_path
    return self._send(None, functions.get_sys_path, (), {})
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\evaluate\compiled\subprocess\__init__.py", line 197, in _send
    pickle_dump(data, self._process.stdin, self._pickle_protocol)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\cache.py", line 142, in wrapper
    result = method(self, *args, **kwargs)
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\evaluate\compiled\subprocess\__init__.py", line 152, in _process
    bufsize=-1
  File "C:\Users\jms29\AppData\Roaming\Sublime Text 3\Packages\Jedi - Python autocompletion\dependencies\jedi\_compatibility.py", line 510, in __init__
    super(GeneralizedPopen, self).__init__(*args, **kwargs)
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1110, in _execute_child
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

Is there anything i can do to fix it ? I reinstalled it several times but didn’t work. Sublime Text version : 3.1.1, Build 3176 Python version : 3.7.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
srusskihcommented, Sep 3, 2018

I think jedi unable to find python. Have you tried to set up a python_interpreter? If not please try, maybe that will solve the issue.

1reaction
srusskihcommented, Sep 3, 2018

cloning is not a problem at all, I use the plugin in same way due to I do some development 😃

sr@mb-sruskykh ~ $ cd Library/Application\ Support/Sublime\ Text\ 3/Packages/
sr@mb-sruskykh ~/L/A/S/Packages $ ls -la
total 16
drwx------  18 sr  staff   576 May 22 14:32 .
drwx------  10 sr  staff   320 May 15 12:04 ..
-rw-r--r--@  1 sr  staff  6148 Nov 28  2016 .DS_Store
lrwxr-xr-x   1 sr  staff    47 May 22 14:32 Jedi - Python autocompletion -> /Users/sr/projects/Jedi - Python autocompletion
Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring SublimeJEDI on Windows · Issue #121 - GitHub
I'm using ST2 + SublimeJEDI on Windows 7. I was getting errors on the console after installing SublimeJEDI when I set my path...
Read more >
Troubleshooting Sublime Text Not Responding - Technipages
To open the folder, click Go ▷ Go to Folder in Finder, and type ~/Library. If you're on Windows 10, the Sublime text...
Read more >
Sublime text 3 autocomplete not working - Stack Overflow
The first thing what you need is to save the file with ".py" extension. If you see your code with colors, it's saved...
Read more >
Windows 10 ST3 not working - Sublime Forum
Running base ST3, no plugins. Freezes immediately upon running. Restarting system and uninstalling and redownloading ST3 (both the regular ...
Read more >
Cracked Sublime Text 3 on Windows 10 - YouTube
year 2020 new license https://youtu.be/4mt7mY_ppZ0Today we're going to crack Sublime Text 3 text editor on Windows 10 and get rid out of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found