pythonic-emacs / anaconda-mode

Code navigation, documentation lookup and completion for Python.
GNU General Public License v3.0
710 stars 87 forks source link

(void-function pythonic-start-process) #328

Closed Knusper closed 6 years ago

Knusper commented 6 years ago

Installed anaconda-mode via elpa, but it is simply not working for me.

Every anaconda-mode function I try (also documentation) fails with above error-message. Unfortunately, the documentation is too sparse to help me figuring out where the problem could be on my side.

proofit404 commented 6 years ago

Who put anaconda-mode on elpa?! :open_mouth:

Knusper commented 6 years ago

Sorry, I installed it via melpa. For an unknown reason the dependency to pythonic-mode was not resolved.

proofit404 commented 6 years ago

Did you update pythonic package?

Knusper commented 6 years ago

pythonic was not installed on the system, package.el did, for an unnknown reason, not resolve the dependency automatically. I now deleted anaconda-mode, refreshed the package list, installed it again, and this time the dependency got resolved. Why do things like this always happen to me :dizzy_face:

proofit404 commented 6 years ago

So, I guess this ticket is resolved?

Knusper commented 6 years ago

OK - now I get an assertion error that the jedi version is too old :-1:

Knusper commented 6 years ago

61 import service_factory 62 ---> 63 assert jedi.__version__ >= '0.13.0', 'Jedi version should be >= 0.13.0, current version: %s' % (jedi.__version__,) 64 65 if virtual_environment:

proofit404 commented 6 years ago

If you installed it globally (as part of ipython, for example), update it with pip install -U jedi.

Knusper commented 6 years ago

OK - this is a bit weird, I installed anaconda - which comes with jedi (since I use anaconda I want to use also anaconda-mode in emacs) - however, anaconda has only jedi 0.12.1. Removing jedi (conda remove jedi) in anaconda seems not to be a good idea. (I see that there is already a PR to handle this case automatically - I just experienced this on a fresh install) ...

proofit404 commented 6 years ago

Actually anaconda and anaconda-mode are not related... Sorry for confusion.

proofit404 commented 6 years ago

You can install Jedi manually into cache directories to, your global conda installation won't be affected.

Knusper commented 6 years ago

Actually anaconda and anaconda-mode are not related... Sorry for confusion.

That is indeed very confusing that it would recommend it to be added to the documentation!

proofit404 commented 6 years ago

Can you please send me the PR?

valignatev commented 6 years ago

'Jedi version should be >= 0.13.0, current version: %s'

Related to a https://github.com/proofit404/anaconda-mode/pull/327 which I'm working on