elpy icon indicating copy to clipboard operation
elpy copied to clipboard

Virtualenv has something wrong

Open duksosleepy opened this issue 3 years ago • 0 comments

Summary

I think Jedi not working with virtualenv. When i set the environment variable WORKON_HOME = $HOME/.virtualenvs, Elpy becomes error and can't use the workon command. Is there any other way i can use other virtual environments in this case. Thank you!

Steps to reproduce

My configuration

OS

Window 10 Pro

Result of (elpy-config)

Emacs.............: 28.2
Elpy..............: 1.35.0
Virtualenv........: None
Interactive Python: ipython3 8.7.0 (c:/Users/THAY PHACH/AppData/Local/Programs/Python/Python39/Scripts/ipython3.exe)
RPC virtualenv....: rpc-venv (c:/Users/THAY PHACH/AppData/Roaming/.emacs.d/elpy/rpc-venv)
 Python...........: c:/Windows/py.exe 3.9.2 (c:/Windows/py.exe)
 Jedi.............: 0.18.2
 Autopep8.........: 2.0.1
 Yapf.............: 0.32.0
 Black............: 22.12.0
Syntax checker....: flake8.exe (c:/Users/THAY PHACH/AppData/Local/Programs/Python/Python39/Scripts/flake8.exe)

Elpy configuration in my init.el


duksosleepy avatar Dec 22 '22 13:12 duksosleepy