[ale] Slightly OT: System default python version

Ted W. ted-lists at xy0.org
Sat Jan 27 00:17:09 EST 2018


Maybe I'm missing something here but I have to ask why the student isn't
using something like pyenv to configure the version of python and the
modules they need for the particular project. In my admittedly limited
python development experience developing for older systems (CentOS 5 and
6) it was common for the system to have an extremely out of date python
version available in the upstream repositories. Instead of relying on
what I could get from the vendor I would use virtual envs to configure
whatever version I wrote in and install all of the modules necessary on
the target system. Is this not possible or am I missing some piece of
the question?

On Wed, Jan 24, 2018 at 05:03:33PM -0600, Todor Fassl via Ale wrote:
> I got a question from a student who is using python. "I'd rather not hard
> code in any python version. Is there any reason to have the system default
> be 2 instead of 3?"
> 
> He had asked me to install the python-matplotlib package. I was like, "Are
> you sure you want python-matplotlib and not python3-matplotlib?" He is still
> coding in python2.7 instead of python3 but not by choice. Is there such a
> thing as a system default python version? To program in python3, doesn't he
> have to modify his code?
> 
> -- 
> Todd
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.ale.org/pipermail/ale/attachments/20180127/4edaa11d/attachment.sig>


More information about the Ale mailing list