[Eric] How can I install Eric6 in a virtual environment?

Detlev Offenbach detlev at die-offenbachs.de
Fri Jul 29 18:41:31 BST 2016


Hello Victoria,

what in particular do you want to do? Run eric from within a virtual environment or run 
eric and develop using a virtual environment? Both possibilities are given.

1. Just install eric with the python interpreter of the virtual environment, e.g. 
~/pyenv/bin/python install.py

2. Just configure the Python interpreter to be used (in your case Python2) to be the one 
of the virtual environment (Configuration dialog, Debugger->Python page).

Detlev

On Thursday 28 July 2016, 11:54:15 Victoria wrote:
> Hello: I have an Anaconda virtual environment in which I would like to use
> Eric6, on an Arch Linux-based system.  The Python in that venv is Python
> 2.7.
> 
> I installed Eric6 within my venv (tf-env) using Arch Linux' pacman package
> manager, but when I start Eric6, it launches in Python 3.5.  In that
> (Eric's) Python terminal, I can right-click >> Start >> change the Python
> interpreter to either of Python2 or Python3.  However, I don't see my
> virtual environments (e.g. tf-env, in which I want to work).
> 
> That venv (tf-env) has Python packages that I use (numpy theano; tensorflow;
> ...), that are not available in Python {2|3} (hence, Eric).
> 
> Suggestions?
> 
> (tf-env)[victoria at victoria anaconda3]$ which python
>     /home/victoria/anaconda3/envs/tf-env/bin/python
> 
> (tf-env)[victoria at victoria anaconda3]$ python --version
>     Python 2.7.12 :: Anaconda 4.1.1 (64-bit)
> 
> (tf-env)[victoria at victoria anaconda3]$ which eric6
>     /usr/bin/eric6
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/eric-- 
*Detlev Offenbach*
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20160729/c1718056/attachment.html>


More information about the Eric mailing list