I’ve been seeing videos of people using your auto-complete addon and I’m very impressed. I tried installing it, but your documentation isn’t quite clear on what your addon expects regarding Jedi. This is what it says:
When there is a error message Jedi library not found you have to use another .zip file in the beginning. Direct download from the github page is not supported, because the Jedi library is a submodule which isn’t included in these downloads. You can either use an official release or use git to download the repository and its submodules.
You mentioned that the jedi module is not included in your github download. I tried adding the jedi module to your download, copying the contents of the “jedi” subfolder into your own “jedi” subfolder, but it gives this error and refuses to run:
Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender\2.76\scripts\modules\addon_utils.py", line 324, in enable
mod = __import__(module_name)
File "C:\Users\HiddenUsername\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\code_autocomplete-master\__init__.py", line 45, in <module>
modules = developer_utils.setup_addon_modules(__path__, __name__, "bpy" in locals())
File "C:\Users\HiddenUsername\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\code_autocomplete-master\developer_utils.py", line 39, in setup_addon_modules
modules = import_submodules(names)
File "C:\Users\HiddenUsername\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\code_autocomplete-master\developer_utils.py", line 30, in import_submodules
modules.append(importlib.import_module("." + name, package_name))
File "C:\Program Files\Blender Foundation\Blender\2.76\python\lib\importlib\__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\HiddenUsername\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\code_autocomplete-master\jedi\__init__.py", line 41, in <module>
from jedi.api import Script, Interpreter, NotFoundError, set_debug_function
ImportError: No module named 'jedi'
I looked into my roaming appdata and it seems to be fine. Your jedi folder has the contents of the jedi library (api, library, parser, init.py, etc…). I still get errors if I include the other root files/folders in the jedi git repository. If I remove the jedi library, it installs fine but complains about the missing library.
So my question is, am I understanding your documentation properly? It didn’t spell out that I needed to add the jedi library to your jedi folder, but that seemed pretty clear to me by looking at your file structure. What exactly is the documentation asking me to do?