You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not activate ahone environment before starting emacs. But only specified the
environment in --virtual-env parameter of jdeiepcserver as above. It's seems that this
way is not good for specify python's virtual environment. Does anyone show me the
correct way?
By the way, I glanced at codes, and found jedi.api.Script class has sys_path parameter
in init(). Why jediepcserver did not use this? I'm not expert, and not sure that
jedi module can handle this option correctly. But according to the comment, use this
option is easy way to use with virtualenv, I feel.
@nrsaty please try expanding tildes, they have no special meaning in how jedi or emacs-jedi treat file paths (expand-file-name is the elisp function if I read my configurations correctly).
I setup my emacs for specific python virtual environment, named ahone. But jediepcserver
can not complete that environment's module name.
I use emacs 26.09 and python 3.6.5 on Windows/10. My configuration is:
I did not activate ahone environment before starting emacs. But only specified the
environment in --virtual-env parameter of jdeiepcserver as above. It's seems that this
way is not good for specify python's virtual environment. Does anyone show me the
correct way?
By the way, I glanced at codes, and found jedi.api.Script class has sys_path parameter
in init(). Why jediepcserver did not use this? I'm not expert, and not sure that
jedi module can handle this option correctly. But according to the comment, use this
option is easy way to use with virtualenv, I feel.
In jediepcserver.py
will be something like this
Does I misunderstand something?
The text was updated successfully, but these errors were encountered: