There are various other projects on github, none of which looked actively maintained and all supporting virtualenv only. The wrapper seems to handle TRAMP references to venvs for working with remote virtual environments as well as local ones. It's basically a wrapper on the core emacs support so should work fine with venv. anaconda-mode has basic support from the underlying pythonic package.I've raised a ticket here, but the wider underlying problem is with Debian not the emacs package: If you create a wrapper script or alias, this doesn't work on Debian based system at least, due to lack of support for ensurepip. There is a setting to set the name of the executable but it doesn't allow for setting of parameters. virtualenvwrapper doesn't support and seemingly cannot be spoofed into using venv.Looking at the source it defaults to virtualenv and python, rather than python3 - and this doesn't look to be configurable - so virtualenv must not be on the PATH and python3 must be set interactively to use venv otherwise it will default to calling python(2) on most setups. ![]() pyvenv has support in github as of Sept 2019. ![]() This will set the virtual environment, but there are no tools to create, workon, delete environments. This module is the recommended way to create and manage. See convenience function python-shell-virtualenv-root. If you are using Python, you can use the built-in venv module to create a virtual environment. ![]() This is generic enough to work with both virtualenv and venv.
0 Comments
Leave a Reply. |