[Eric] Virtual Environment in Eric
Tony Arnold
tony.arnold at manchester.ac.uk
Wed May 30 10:05:58 BST 2018
Detlev,
Thanks for your response.
On Wed, 2018-05-30 at 10:20 +0200, Detlev Offenbach wrote:
> The fact it appears twice is related to a double installation. The
> plug-in has been move to the eric core distribution and the
> standalone plug-in has been obsoleted. Please uninstall it.
OK, will do.
> The mentioned configuration option is related to usage of pip only.
Does this mean I can use Pip from Eric to install into a virtual
environment? I'll have a play.
> In order to use a virtual envelope for your Python project simply
> configure the path to the interpreter in your project debugger
> properties.
Yes, I'm already doing that and it works brilliantly.
Thanks for your help.
Regards,Tony.
> Am 29.05.2018 20:21 schrieb Tony Arnold <tony.arnold at manchester.ac.uk
> >:
> > I'm trying to understand Eric's support for virtual environments.
> > There is an option under Extras 'Virtualenv configurator' which,
> > does indeed configure up a virtual environment. I can run my code
> > in this environment by specifying it as the path to the
> > Python executable. This option appears twice in the menu, which is
> > odd.
> >
> >
> >
> > However, under Extras->Python Package Management, there is an
> > option 'Edit Current Virtualenv Configuration ...'. However, when I
> > select that, I get a message 'No valid configuration path
> > determined. Is a virtual environment selected?'.
> >
> >
> >
> > So my question is: is there a way to select a virtual environment
> > in Eric? I've searched the menu items and the settings and the
> > project properties, but I cannot find anything that relates to
> > this?
> >
> >
> >
> > The VirtualenvInterface plugin is present and active.
> >
> >
> >
> > Am I missing something, or is this feature a work in progress to be
> > available in some future release?
> >
> >
> >
> > (I'm running Eric 18.04 on Ubuntu 18.04 using the vanilla Gnome
> > desktop. So PyQt 5.10.1 and Qt 5.9.5. I also have package python3-
> > venv installed, which I believe provides pyvenv.)
> >
> >
> >
> > Regards,
> > Tony.
> >
> > --
> >
> >
> > Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate
> > of IT Services | G64, Kilburn Building | The University of
> > Manchester | Manchester M13 9PL |
> > T: +44 161 275 6093 |
> > M: +44 773 330 0039
> >
> >
> >
--
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | Desk 51, Office 2, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20180530/8c020859/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20180530/8c020859/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3510 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20180530/8c020859/attachment.bin>
More information about the Eric
mailing list