<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-15">
</head>
<body>
I have installed Eric in a virtual Env with pyenv and I need to have
all my projects in own virtualenvs (to move them to other
computers). <br>
Using Ubuntu18.04, my Eric20.5 does not see my installed packages.
I see in the PyPI window a different list than on the command line.
Programs using the standard library work fine in Eric. Programs that
fail in Eric work fine on the command line. I ran out of ideas. <br>
<br>
Here is what I did:<br>
sudo apt purge eric # make sure the old stuff is
fully gone<br>
pyenv install 3.6.9<br>
pyenv virtualenv 3.6.9 eric6<br>
pyenv activate eric6<br>
pip install eric-ide # installs fine<br>
eric6 <br>
<br>
Now for my simple projects I keep a common virtual env "default"<br>
pyenv virtualenv 3.6.9 default<br>
pyenv activate default # works fine<br>
pip install wxPython <br>
<br>
Then I set "default" at Settings/Debugger/Python3 and both Run
dialogs. When I open Eric's PyPI window and select "default" I see
this:<br>
pip 18.1<br>
setuptools<br>
On the CLI with pip list I get:<br>
pip 20.1 <br>
setuptools <br>
wxPython<br>
numpy<br>
So somehow the "default" virtualevn Eric uses is something different
that the "default" pyenv uses on the command line. I read that the
pyenv approach with shims can cause difficulties, but I have seen
answers in this archive that suggest others are using pyenv as
well. So I am hoping I have overlooked something.<br>
<br>
Thanks <br>
Tiger<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>