On 2020-03-11, Mark Knecht <markkne...@gmail.com> wrote:

> I cannot really answer your questions about multiple python versions as
> you've outlined it.

FWIW, I'm not asking about different versions of Python.  I'm asking
about different versions of Python libraries — all of which were
installed for the same version/instance of Python (3.6 in my example).

> However I've used virtualenv (and others) for this sort of thing
> where I want a specific program to run with a specific version of
> python. It's easy to use and keeps everything isolated very
> well. The downside of it is that you have to enter/exit the
> environment to use the program but I've had 5 or 6 versions of
> python installed at one time and it works fine for what it does.

That was what I was going to do if the "pip --user" method didn't work
well.  In my exaple it's a unix-style command-line utility, so
wrapping it a Bash script that activates the venv should work fine.

-- 
Grant Edwards               grant.b.edwards        Yow! You mean you don't
                                  at               want to watch WRESTLING
                              gmail.com            from ATLANTA?


Reply via email to