Re: [CentOS] Need Python3 for C6

2014-04-28 Thread Robert Arkiletian
On Fri, Apr 25, 2014 at 10:58 AM, Elias Persson delre...@takeit.se wrote:
 On 2014-04-25 19:27, Robert Arkiletian wrote:
 I need Python 3.4 (latest) on CentOS 6 for development purposes
 (teaching programming).

 Need advice for best method to do this. I am concerned about not
 breaking the internal plumbing of C6. I was thinking about installing
 it into /opt.

 I noticed  http://puias.math.ias.edu/data/puias/computational  has 3.3
 but I need 3.4 (asyncio module). Wondering if anyone has tried python3
 from puias repo ? Does it break anything?

 Also, found 
 http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/

 Any advice welcome.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


 python 3.3 is available in software collections [1].
 Works quite well, is easy enough to use.
 If you absolutely must have python 3.4, I don't know.

 asyncio for python33 is available on pypi [2].
 Don't know if this is exactly compatible with 3.4 though.

 [1] https://www.softwarecollections.org/en/
 [2] https://pypi.python.org/pypi/asyncio

Thank you Elias,

SCL worked perfectly. Installed Python 3.3 then installed the asyncio
module from pypi. I was a little afraid about where the module would
be installed but it was smart enough. I simply scl enable python33
bash *before* building/installing the module. Now I can show my
students the very latest in asynchronous network programming.

Software Collections is a great idea. It really addresses and solves
one of the biggest issues of rhel/centos.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need Python3 for C6

2014-04-25 Thread Elias Persson
On 2014-04-25 19:27, Robert Arkiletian wrote:
 I need Python 3.4 (latest) on CentOS 6 for development purposes
 (teaching programming).

 Need advice for best method to do this. I am concerned about not
 breaking the internal plumbing of C6. I was thinking about installing
 it into /opt.

 I noticed  http://puias.math.ias.edu/data/puias/computational  has 3.3
 but I need 3.4 (asyncio module). Wondering if anyone has tried python3
 from puias repo ? Does it break anything?

 Also, found http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/

 Any advice welcome.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


python 3.3 is available in software collections [1].
Works quite well, is easy enough to use.
If you absolutely must have python 3.4, I don't know.

asyncio for python33 is available on pypi [2].
Don't know if this is exactly compatible with 3.4 though.

[1] https://www.softwarecollections.org/en/
[2] https://pypi.python.org/pypi/asyncio
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need Python3 for C6

2014-04-25 Thread James A. Peltier
- Original Message -
| I need Python 3.4 (latest) on CentOS 6 for development purposes
| (teaching programming).
| 
| Need advice for best method to do this. I am concerned about not
| breaking the internal plumbing of C6. I was thinking about installing
| it into /opt.
| 
| I noticed  http://puias.math.ias.edu/data/puias/computational  has
| 3.3
| but I need 3.4 (asyncio module). Wondering if anyone has tried
| python3
| from puias repo ? Does it break anything?
| 
| Also, found
| http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/
| 
| Any advice welcome.
| ___
| CentOS mailing list
| CentOS@centos.org
| http://lists.centos.org/mailman/listinfo/centos
| 

Outside of SCL you can also look into the modules environment packages, which 
allow you to temporarily override the base system dynamically.  We use this to 
maintain several version of libraries that do not come with the OS or are newer 
than those provided by the OS to build production software pipelines for 
various research tools.

It's a pretty nice system ;)

-- 
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices

Around here, however, we don’t look backwards for very long.  We KEEP MOVING 
FORWARD, opening up new doors and doing things because we’re curious and 
curiosity keeps leading us down new paths. - Walt Disney
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos