[ale] Slightly OT: System default python version

Kyle Brieden kyle at txmoose.com
Mon Feb 5 16:40:18 EST 2018


I know I'm behind, but I just wanted to bump this response and say that 
this is the correct response.  If he's learning, he needs to learn 
right.

---
Very respectfully,
Kyle Brieden

On 27-01-2018 00:17, Ted W. via Ale wrote:
> 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
> 
> _______________________________________________
> 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: 0x89C9D831.asc
Type: application/pgp-keys
Size: 3053 bytes
Desc: not available
URL: <http://mail.ale.org/pipermail/ale/attachments/20180205/74a8362a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://mail.ale.org/pipermail/ale/attachments/20180205/74a8362a/attachment.sig>


More information about the Ale mailing list