Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-02 Thread Thomas Passin
On 2/2/2023 1:56 PM, אורי wrote: deadsnakes ppa don't have Python 3.10 for Ubuntu 22.04. https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa אורי u...@speedy.net I just last night installed 3.10.9 on Debian Bu

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-02 Thread אורי
deadsnakes ppa don't have Python 3.10 for Ubuntu 22.04. https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa אורי u...@speedy.net On Wed, Feb 1, 2023 at 8:14 PM Thomas Passin wrote: > On 2/1/2023 12:36 PM, אורי wrote: > > Thank you all. > > > > I'm not familiar with snap update but I did `sud

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Thomas Passin
On 2/1/2023 1:37 PM, Jack Dangler wrote: If you're not familiar with snap, lookup 'snap' 'ubuntu' ... Many people would rather avoid snap if possible ... On 2/1/23 13:13, Thomas Passin wrote: On 2/1/2023 12:36 PM, אורי wrote: Thank you all. I'm not familiar with snap update but I did `sudo

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Jack Dangler
If you're not familiar with snap, lookup 'snap' 'ubuntu' ... On 2/1/23 13:13, Thomas Passin wrote: On 2/1/2023 12:36 PM, אורי wrote: Thank you all. I'm not familiar with snap update but I did `sudo apt update` & `sudo apt upgrade`, but about one or two months ago. אורי u...@speedy.net You

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Thomas Passin
On 2/1/2023 12:36 PM, אורי wrote: Thank you all. I'm not familiar with snap update but I did `sudo apt update` & `sudo apt upgrade`, but about one or two months ago. אורי u...@speedy.net You can probably install it from the deadsnakes repository: sudo add-apt-repository ppa:deadsnakes/ppa M

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread אורי
Thank you all. I'm not familiar with snap update but I did `sudo apt update` & `sudo apt upgrade`, but about one or two months ago. אורי u...@speedy.net On Wed, Feb 1, 2023 at 7:33 PM Jack Dangler wrote: > Ari > > Have you tried running a snap update? > > Regards > > יַעֲקֹב > > On 2/1/23 11:

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Jack Dangler
Ari Have you tried running a snap update? Regards יַעֲקֹב On 2/1/23 11:31, אורי wrote: Hi, I have a server with Ubuntu 22.04.1 LTS and the Python version there is Python 3.10.6. Is there a safe way to upgrade to the latest version of Python 3.10 (3.10.9)? I tried with the OS update and upgra

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Chris Angelico
‪On Thu, 2 Feb 2023 at 03:33, ‫אורי‬‎ wrote:‬ > > Hi, > > I have a server with Ubuntu 22.04.1 LTS and the Python version there > is Python 3.10.6. Is there a safe way to upgrade to the latest version of > Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python > version remaine

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Skip Montanaro
> > > I have a server with Ubuntu 22.04.1 LTS and the Python version there > is Python 3.10.6. Is there a safe way to upgrade to the latest version of > Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python > version remained the same. > > I have an Ubuntu 22.04 system. The in

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Grant Edwards
On 2023-02-01, אורי wrote: > I have a server with Ubuntu 22.04.1 LTS and the Python version there > is Python 3.10.6. Is there a safe way to upgrade to the latest version of > Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python > version remained the same. This is an Ubun

Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread אורי
Hi, I have a server with Ubuntu 22.04.1 LTS and the Python version there is Python 3.10.6. Is there a safe way to upgrade to the latest version of Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python version remained the same. Thanks, אורי u...@speedy.net -- https://mail.p

Re: upgrading python on raspbian

2019-10-16 Thread Cousin Stanley
Gene Heskett wrote: > Continueing this thread, I now have a missing function by name, "units", > that is preventing LinuxCNC from running. > > Where in the python 3 world do I find that function?, > Under debian buster there is a python 2 package called python-quantities that apparent

Re: upgrading python on raspbian

2019-10-15 Thread Gene Heskett
On Tuesday 15 October 2019 11:10:41 Dennis Lee Bieber wrote: > On Tue, 15 Oct 2019 01:30:59 -0400, Gene Heskett > > > declaimed the following: > >On Monday 14 October 2019 12:56:22 Gene Heskett wrote: > > > >Continueing this thread, I now have a missing function by name, > > "units", that is prev

Re: upgrading python on raspbian

2019-10-14 Thread Gene Heskett
On Monday 14 October 2019 12:56:22 Gene Heskett wrote: Continueing this thread, I now have a missing function by name, "units", that is preventing LinuxCNC from running. Where in the python 3 world do I find that function?, which in this case controls what it is fed on to a pyvcp display accord

Re: upgrading python on raspbian

2019-10-14 Thread Gene Heskett
On Monday 14 October 2019 12:00:42 Michael Torrie wrote: > On 10/14/19 8:52 AM, Gene Heskett wrote: > > I think thats the obvious path forward. Once ported, we don't have > > to worry about that legacy stuff for two or 3 generations of linux. > > A worthy goal and I'm sure the LinuxCNC folk would

Re: upgrading python on raspbian

2019-10-14 Thread Michael Torrie
On 10/14/19 10:00 AM, Michael Torrie wrote: > https://github.com/LinuxCNC/linuxcnc/issues/403 > > Whatever you do, you probably will want to discuss it on the github > issue tracker to make sure efforts aren't duplicated. Reading further, it appears that the binding and embedding python 3 has bee

Re: upgrading python on raspbian

2019-10-14 Thread Michael Torrie
On 10/14/19 8:52 AM, Gene Heskett wrote: > I think thats the obvious path forward. Once ported, we don't have to > worry about that legacy stuff for two or 3 generations of linux. A worthy goal and I'm sure the LinuxCNC folk would be grateful for contributions. Be aware that porting the python

Re: upgrading python on raspbian

2019-10-14 Thread Chris Angelico
On Tue, Oct 15, 2019 at 1:53 AM Gene Heskett wrote: > > On Sunday 13 October 2019 16:22:33 Chris Angelico wrote: > > My recommendation would be to start with "sudo apt build-dep > > linuxcnc-uspace" and see if it can get any, but otherwise, just > > replace "python-" with "python3-" and see if tha

Re: upgrading python on raspbian

2019-10-14 Thread Gene Heskett
On Sunday 13 October 2019 16:22:33 Chris Angelico wrote: > On Mon, Oct 14, 2019 at 6:38 AM Gene Heskett wrote: > > I'm not a python expert by a long ways. > > > > I have built the linuxcnc-master, which is the development branch of > > linuxcnc, a machine control program to run most metal carvin

Re: upgrading python on raspbian

2019-10-13 Thread Chris Angelico
On Mon, Oct 14, 2019 at 6:38 AM Gene Heskett wrote: > > I'm not a python expert by a long ways. > > I have built the linuxcnc-master, which is the development branch of > linuxcnc, a machine control program to run most metal carving machines. > Lathes, milling machines, anything you can motorize,

upgrading python on raspbian

2019-10-13 Thread Gene Heskett
I'm not a python expert by a long ways. I have built the linuxcnc-master, which is the development branch of linuxcnc, a machine control program to run most metal carving machines. Lathes, milling machines, anything you can motorize, LinuxCNC can run. This requires a preempt-rt kernel which I'v

Problems after upgrading Python 3.6.3 to 3.6.5

2018-05-09 Thread Jim
I am running Linux Mint 18.1 and Python3 version 3.5.2, Awhile ago I installed Python3.6 from LP-PPA-jonathonf-python-3.6/now. I did it to run 3.6 in virtual environment. Everything was working until I allowed the package manager to upgrade 3.6.3 to 3.6.5. See (1) below. First problem I had wa

Re: Can't see numpy etc after upgrading Python on Ubuntu

2016-12-20 Thread ozpeterballard
OK thanks both of you. I didn't realise there was a distinction between system python and other (user/personal) python. Yes, python2.7.3 is still there in /usr/bin/python . /usr/bin/python appears to be getting numpy and scipy from /usr/lib/python2.7/dist-packages . So I added that to PYTHONPAT

Re: Can't see numpy etc after upgrading Python on Ubuntu

2016-12-20 Thread Chris Angelico
On Tue, Dec 20, 2016 at 8:28 PM, Vincent Vande Vyvre wrote: >>> The link /usr/bin/python *MUST* point to the 2.7.3 version, if not, >>> restore >>> it. >> >> It does. When he installs pip via apt, it manages his original 2.7.3. >> Anything that explicitly shebangs to /usr/bin/python will be >> una

Re: Can't see numpy etc after upgrading Python on Ubuntu

2016-12-20 Thread Vincent Vande Vyvre
Le 20/12/16 à 10:13, Chris Angelico a écrit : On Tue, Dec 20, 2016 at 7:36 PM, Vincent Vande Vyvre wrote: It seems you have shadowed your default python2 with the new one. A very bad idea. Only because /usr/local/bin is ahead of /usr/bin in PATH. That's the problem. The link /usr/bin/pytho

Re: Can't see numpy etc after upgrading Python on Ubuntu

2016-12-20 Thread Chris Angelico
On Tue, Dec 20, 2016 at 7:36 PM, Vincent Vande Vyvre wrote: > It seems you have shadowed your default python2 with the new one. A very bad > idea. Only because /usr/local/bin is ahead of /usr/bin in PATH. > The link /usr/bin/python *MUST* point to the 2.7.3 version, if not, restore > it. It doe

Re: Can't see numpy etc after upgrading Python on Ubuntu

2016-12-20 Thread Vincent Vande Vyvre
Le 20/12/16 à 08:45, Chris Angelico a écrit : On Tue, Dec 20, 2016 at 5:19 PM, wrote: Thanks Chris for replying, but it didn't work. The upgrade happened, but still python can't see numpy! So it seems to be a path problem. The numpy (and scipy and matplotlib) files are there, so surely in pr

Re: Can't see numpy etc after upgrading Python on Ubuntu

2016-12-19 Thread Chris Angelico
On Tue, Dec 20, 2016 at 5:19 PM, wrote: > Thanks Chris for replying, but it didn't work. The upgrade happened, but > still python can't see numpy! So it seems to be a path problem. The numpy > (and scipy and matplotlib) files are there, so surely in principle it's a > simple matter of pointing

Re: Can't see numpy etc after upgrading Python on Ubuntu

2016-12-19 Thread ozpeterballard
Thanks Chris for replying, but it didn't work. The upgrade happened, but still python can't see numpy! So it seems to be a path problem. The numpy (and scipy and matplotlib) files are there, so surely in principle it's a simple matter of pointing my python path at them? Any ideas how? (I shoul

Re: Can't see numpy etc after upgrading Python on Ubuntu

2016-12-19 Thread Chris Angelico
On Tue, Dec 20, 2016 at 4:08 PM, wrote: > I use Python on Ubuntu 12.04. Recently I upgraded Python from 2.7.3 to > 2.7.12. I did the upgrade via the source, i.e. download (from > https://www.python.org/downloads/release/python-2712/ ), tar, ./config, sudo > make install. > > After the upgrade,

Can't see numpy etc after upgrading Python on Ubuntu

2016-12-19 Thread ozpeterballard
Hi all. I hope this is the right place. It seems more like a Python problem than an Ubuntu problem. I use Python on Ubuntu 12.04. Recently I upgraded Python from 2.7.3 to 2.7.12. I did the upgrade via the source, i.e. download (from https://www.python.org/downloads/release/python-2712/ ), tar,

Upgrading Python with NumPy, SciPy and Mayavi in a Rocks 6.0 cluster

2013-01-13 Thread Patrick Haley
Hi, We are looking for some guidance in installing an upgraded Python on our cluster. Our cluster was installed with Rocks 6.0, is running CentOs 6.2, and has python-2.6.6, gcc-4.4.6. We would like to install an upgraded version of Python along with the following modules NumPy Scipy (which w

Re: IDLE will not startup after upgrading Python on Mac OS X

2010-08-23 Thread Ned Deily
In article , Benjamin Kaplan wrote: > On Mon, Aug 23, 2010 at 9:45 AM, Frederick Manley wrote: > > so went to > > python.org to download Python 2.7, as I was "strongly encouraged" to do on > > the website. [...] > >The only problem is, whenever I start it > > up (I've tried starting it from the

Re: IDLE will not startup after upgrading Python on Mac OS X

2010-08-23 Thread Terry Reedy
On 8/23/2010 10:05 AM, Benjamin Kaplan wrote: From the title, this may be relevant, but I'm not sure because I'm having trouble accessing the bug tracker right now. http://bugs.python.org/issue9227 Also, this one: http://bugs.python.org/issue9620 Tracker is still down (site maintainers have

Re: IDLE will not startup after upgrading Python on Mac OS X

2010-08-23 Thread Benjamin Kaplan
On Mon, Aug 23, 2010 at 9:45 AM, Frederick Manley wrote: > I have snow leopard and a brand new mac book pro.  After running python from > x11, I saw that I had python 2.5.1 installed on this laptop, That should be 2.6.1 if you're on Snow Leopard. Also, why were you running Python from an xterm? J

IDLE will not startup after upgrading Python on Mac OS X

2010-08-23 Thread Frederick Manley
I have snow leopard and a brand new mac book pro. After running python from x11, I saw that I had python 2.5.1 installed on this laptop, so went to python.org to download Python 2.7, as I was "strongly encouraged" to do on the website. The problem is that Mac doesn't come with a text editor for w

Re: upgrading python (and other modules)

2007-03-29 Thread kyosohma
On Mar 29, 1:14 am, Astan Chee <[EMAIL PROTECTED]> wrote: > Forget I asked this question. > I've solved it using wxPython 2.6.3.3 > Cheers > > Astan Chee wrote: > > Hi, > > I was once using python 2.4 in win2k with wxPython 2.4.2.4 (if im not > > mistaken) with it. > > Now i've upgraded to winXP an

Re: upgrading python (and other modules)

2007-03-28 Thread Astan Chee
Forget I asked this question. I've solved it using wxPython 2.6.3.3 Cheers Astan Chee wrote: > Hi, > I was once using python 2.4 in win2k with wxPython 2.4.2.4 (if im not > mistaken) with it. > Now i've upgraded to winXP and am using python 2.5 with wxPython 2.8.1.1. > The problem Im currently ha

upgrading python (and other modules)

2007-03-28 Thread Astan Chee
Hi, I was once using python 2.4 in win2k with wxPython 2.4.2.4 (if im not mistaken) with it. Now i've upgraded to winXP and am using python 2.5 with wxPython 2.8.1.1. The problem Im currently having is that in my code: from wxPython.wx import * from wxPython.grid import * from wxPython.html impor

Re: Upgrading python question

2007-03-22 Thread Steve Holden
Tommy Grav wrote: > I am currently using Activepython 2.4.4, but would like to upgrade to > 2.5. Am I right in thinking that if I do that I need to reinstall all > the > packages and modules (like numpy, scipy, pyfits, and so on)? Or is > there a way to avoid that? > > Cheers >Tommy There's

Re: Upgrading python question

2007-03-22 Thread kyosohma
On Mar 22, 4:00 pm, Tommy Grav <[EMAIL PROTECTED]> wrote: > I am currently using Activepython 2.4.4, but would like to upgrade to > 2.5. Am I right in thinking that if I do that I need to reinstall all > the > packages and modules (like numpy, scipy, pyfits, and so on)? Or is > there a way to avoid

Upgrading python question

2007-03-22 Thread Tommy Grav
I am currently using Activepython 2.4.4, but would like to upgrade to 2.5. Am I right in thinking that if I do that I need to reinstall all the packages and modules (like numpy, scipy, pyfits, and so on)? Or is there a way to avoid that? Cheers Tommy -- http://mail.python.org/mailman/listinf

Re: upgrading python...

2006-08-02 Thread Michael Brandt
> i'min a situation where i might need to upgrade python. i have the current > version of python for FC3. i might need to have the version for FC4. i built > the version that's on FC4 from the python source RPM. You could try the precompiled Python distribution from ActiveState (AS package (libcpp

Re: upgrading python...

2006-08-02 Thread Paul Boddie
bruce wrote: > > i'min a situation where i might need to upgrade python. i have the current > version of python for FC3. i might need to have the version for FC4. i built > the version that's on FC4 from the python source RPM. In principle this is a good idea, since you're aiming to manage your in

Re: upgrading python...

2006-08-02 Thread Matthew Miller
On Wed, Aug 02, 2006 at 06:50:11AM -0700, bruce wrote: > i'min a situation where i might need to upgrade python. i have the current > version of python for FC3. i might need to have the version for FC4. i built > the version that's on FC4 from the python source RPM. Going from Python 2.3 as in FC3

upgrading python...

2006-08-02 Thread bruce
hi. i'min a situation where i might need to upgrade python. i have the current version of python for FC3. i might need to have the version for FC4. i built the version that's on FC4 from the python source RPM. however, when i simply try to install the resulting RPM, the app gives me dependency is

upgrading python on virtual hosting server

2006-06-22 Thread Brian
Hello, I have a dedicated linux server with several virtual domains on it. These domains are chrooted for security. I need to upgrade python and be able to have it available for all accounts. I am also concerned that I may muck up some of the server processes that use python. Can someone tell m

Re: Newbie Alert! Upgrading Python?

2005-07-10 Thread Peter Hansen
Thorsten Kampe wrote: > * El (2005-07-10 11:56 +0100) >>Python 1.5.1 (final) and Python Win32 Extensions are installed on my 4 year > > If you don't use it: uninstall Python. If something else uses it: keep > it as it is as your app might break with the new Python - even though > 2.4 is backwards

Re: Newbie Alert! Upgrading Python?

2005-07-10 Thread Thorsten Kampe
* El (2005-07-10 11:56 +0100) > Sorry to bother you folks with a real newbie question, but I am sure that > this is the place for me to ask. > > Python 1.5.1 (final) and Python Win32 Extensions are installed on my 4 year > old computer. My computer has always been upgraded to include the latest

Newbie Alert! Upgrading Python?

2005-07-10 Thread El
Hi, Sorry to bother you folks with a real newbie question, but I am sure that this is the place for me to ask. Python 1.5.1 (final) and Python Win32 Extensions are installed on my 4 year old computer. My computer has always been upgraded to include the latest programs and Windows updates. Ho

Re: Upgrading Python Article

2004-12-18 Thread Tim Roberts
JanC <[EMAIL PROTECTED]> wrote: >Tim Roberts schreef: > >> I don't think that's fair. Visual C++ 7.1 is signficantly better at >> compliance than their past compilers. > >AFAIK that's only for C++, not for C...? Yes. Microsoft has largely chosen to ignore C99. According to the Visual Studio te

Re: Upgrading Python Article

2004-12-16 Thread JanC
Tim Roberts schreef: > I don't think that's fair. Visual C++ 7.1 is signficantly better at > compliance than their past compilers. AFAIK that's only for C++, not for C...? -- JanC "Be strict when sending and tolerant when receiving." RFC 1958 - Architectural Principles of the Internet - secti

Re: Upgrading Python Article

2004-12-11 Thread Tim Roberts
JanC <[EMAIL PROTECTED]> wrote: >Fuzzyman schreef: > >> On the other hand the microsoft >> compiler is *better* than gcc anyway :-) > >It's better at optimising, but it doesn't support standard C & C++. ;-) I don't think that's fair. Visual C++ 7.1 is signficantly better at compliance than thei

Re: Upgrading Python Article

2004-12-09 Thread JanC
Fuzzyman schreef: > On the other hand the microsoft > compiler is *better* than gcc anyway :-) It's better at optimising, but it doesn't support standard C & C++. ;-) -- JanC "Be strict when sending and tolerant when receiving." RFC 1958 - Architectural Principles of the Internet - section 3.

Re: Upgrading Python Article

2004-12-09 Thread Fuzzyman
Sure - I don't really *blame* windoze for the problem. It's just more of a pain upgrading python version on windows. As I said it's given me an opportunity to work out which extension modules I'm really using ! In actual fact I admire windows, there's an awful lot that

Re: Upgrading Python Article

2004-12-07 Thread Jive
> Python 2.4 or postpone it. This is my first `major version change`, so > I've come up against the usual windoze (tm) problem - upgrading python > breaks all my extension modules. > > I've been looking into the issues, what modules do I use, can I > compile them myself ?

Upgrading Python Article

2004-12-07 Thread Michael Foord
http://www.voidspace.org.uk/python/articles/upgrading_python.html I've been looking at whether to upgrade immediately from Python 2.3 to Python 2.4 or postpone it. This is my first `major version change`, so I've come up against the usual windoze (tm) problem - upgrading python bre