Closed schmir closed 4 years ago
I just noticed this doesn't work if you start without the anaconda server directory already being created. I'll update this PR later.
I just noticed this doesn't work if you start without the anaconda server directory already being created. I'll update this PR later.
This is fixed. Not sure if what I did works with tramp though.
Thanks
Change the current directory when starting the anaconda server.
The current directory will be added to sys.path and we may end up with files that conflict with stdlib modules. That may prevent the anaconda server from starting:
Let's say we're working on a package 'foo', that contains a module 'foo.logging'.
The following commands can be used to create such a package:
If we then open foo/core.py with
emacs foo/core.py
, the*anaconda-mode*
buffer contains the following error:In that case python tried to import the stdlib logging module from foo/logging.py, which is of course bound to fail.