Removing numpy numpy-1.1.0 in Python 2.5
I may have bounced a similar problem around here a few months ago, but
this one is a bit more important to get an answer for.
I'm about to distribute some report programs to three people who work
together and should be using the same version of Python and libraries
that I use, and a common application to us. However, to create two new
report programs they do not have, I need to make sure we do have the
same versions, and in particular need to use the numpy 1.2.0 I used for
the report programs.
To replace the old numpy and make sure we are all on on the same wave
length, I wrote the description below. I want to know if what I say
about removing 1.1.0 and installing 1.2.0 is correct. I think deleting
the folder as below is the right way to go. numpy is not in Control
Panel Add/Remove. Comments?
=================================
Required Libraries for Sentinel Report Programs for Win XP
...
You will need to replace your numpy-1.1.0 library. This is accomplished by
first removing numpy-1.1.0 from the Python library located at
C:\Python2.5\Lib\site-packages.
Delete the numpy folder.
Next execute the numpy-1.2.0-win32-superpack-python2.5.exe to
install numpy 1.2.0.
Try sentuser.py to make sure it runs properly. If not, contact me.
==================================
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh
about 0.1% less than at the poles. Centrifugal force
is directed opposite gravity there--zero at the poles.
-- WTW
Web Page:
On Tue, Sep 21, 2010 at 7:01 PM, Wayne Watson
I may have bounced a similar problem around here a few months ago, but this one is a bit more important to get an answer for.
I'm about to distribute some report programs to three people who work together and should be using the same version of Python and libraries that I use, and a common application to us. However, to create two new report programs they do not have, I need to make sure we do have the same versions, and in particular need to use the numpy 1.2.0 I used for the report programs.
To replace the old numpy and make sure we are all on on the same wave length, I wrote the description below. I want to know if what I say about removing 1.1.0 and installing 1.2.0 is correct. I think deleting the folder as below is the right way to go. numpy is not in Control Panel Add/Remove.
I have some numpy versions in there I would recommend to first check Add/Remove, and delete from there and then delete the numpy folder in site-packages if it is still there. Why don't you upgrade to the latest release. If you are already upgrading, jumping to the latest might be better. Josef Comments?
================================= Required Libraries for Sentinel Report Programs for Win XP ... You will need to replace your numpy-1.1.0 library. This is accomplished by first removing numpy-1.1.0 from the Python library located at
C:\Python2.5\Lib\site-packages.
Delete the numpy folder.
Next execute the numpy-1.2.0-win32-superpack-python2.5.exe to install numpy 1.2.0.
Try sentuser.py to make sure it runs properly. If not, contact me. ==================================
-- Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh about 0.1% less than at the poles. Centrifugal force is directed opposite gravity there--zero at the poles. -- WTW
Web Page:
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
I don't see it in Add/Remove. Whoops. It is on this Win7 machine. I need to check my XP machine. I'll be back when I figure out if that's right. My not always recollection was that it was not on Add/Remove under XP. I'm dealing with people who barely understand software, so keeping this simple is the best thing to do. This version of the application is the last, and we might as well treat it as frozen. I really don't want to try to correct people's install problems or attempts to move ahead with the various libraries we use over the internet, so simple is it. On 9/21/2010 4:38 PM, josef.pktd@gmail.com wrote:
On Tue, Sep 21, 2010 at 7:01 PM, Wayne Watson
wrote: I may have bounced a similar problem around here a few months ago, but this one is a bit more important to get an answer for.
I'm about to distribute some report programs to three people who work together and should be using the same version of Python and libraries that I use, and a common application to us. However, to create two new report programs they do not have, I need to make sure we do have the same versions, and in particular need to use the numpy 1.2.0 I used for the report programs.
To replace the old numpy and make sure we are all on on the same wave length, I wrote the description below. I want to know if what I say about removing 1.1.0 and installing 1.2.0 is correct. I think deleting the folder as below is the right way to go. numpy is not in Control Panel Add/Remove. I have some numpy versions in there
I would recommend to first check Add/Remove, and delete from there and then delete the numpy folder in site-packages if it is still there.
Why don't you upgrade to the latest release. If you are already upgrading, jumping to the latest might be better.
Josef
Comments?
================================= Required Libraries for Sentinel Report Programs for Win XP ... You will need to replace your numpy-1.1.0 library. This is accomplished by first removing numpy-1.1.0 from the Python library located at
C:\Python2.5\Lib\site-packages.
Delete the numpy folder.
Next execute the numpy-1.2.0-win32-superpack-python2.5.exe to install numpy 1.2.0.
Try sentuser.py to make sure it runs properly. If not, contact me. ==================================
-- Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh about 0.1% less than at the poles. Centrifugal force is directed opposite gravity there--zero at the poles. -- WTW
Web Page:
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh
about 0.1% less than at the poles. Centrifugal force
is directed opposite gravity there--zero at the poles.
-- WTW
Web Page:
On Tue, Sep 21, 2010 at 10:32 PM, Wayne Watson
I don't see it in Add/Remove. Whoops. It is on this Win7 machine. I need to check my XP machine. I'll be back when I figure out if that's right. My not always recollection was that it was not on Add/Remove under XP.
I'm dealing with people who barely understand software, so keeping this simple is the best thing to do. This version of the application is the last, and we might as well treat it as frozen. I really don't want to try to correct people's install problems or attempts to move ahead with the various libraries we use over the internet, so simple is it.
If you want to have a frozen application, the best might be to use py2exe, but maybe not worth the effort, if they don't mess with the installed python packages. Josef
On 9/21/2010 4:38 PM, josef.pktd@gmail.com wrote:
On Tue, Sep 21, 2010 at 7:01 PM, Wayne Watson
wrote: I may have bounced a similar problem around here a few months ago, but this one is a bit more important to get an answer for.
I'm about to distribute some report programs to three people who work together and should be using the same version of Python and libraries that I use, and a common application to us. However, to create two new report programs they do not have, I need to make sure we do have the same versions, and in particular need to use the numpy 1.2.0 I used for the report programs.
To replace the old numpy and make sure we are all on on the same wave length, I wrote the description below. I want to know if what I say about removing 1.1.0 and installing 1.2.0 is correct. I think deleting the folder as below is the right way to go. numpy is not in Control Panel Add/Remove. I have some numpy versions in there
I would recommend to first check Add/Remove, and delete from there and then delete the numpy folder in site-packages if it is still there.
Why don't you upgrade to the latest release. If you are already upgrading, jumping to the latest might be better.
Josef
Comments?
================================= Required Libraries for Sentinel Report Programs for Win XP ... You will need to replace your numpy-1.1.0 library. This is accomplished by first removing numpy-1.1.0 from the Python library located at
C:\Python2.5\Lib\site-packages.
Delete the numpy folder.
Next execute the numpy-1.2.0-win32-superpack-python2.5.exe to install numpy 1.2.0.
Try sentuser.py to make sure it runs properly. If not, contact me. ==================================
-- Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh about 0.1% less than at the poles. Centrifugal force is directed opposite gravity there--zero at the poles. -- WTW
Web Page:
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
-- Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh about 0.1% less than at the poles. Centrifugal force is directed opposite gravity there--zero at the poles. -- WTW
Web Page:
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
I've considered it, but it's way too time consuming to work out the details. I spent a week some time ago dealing with a simple test program, maybe 10 lines of code, trying to get it to work, which I think I did. I just need to work what I've got. On 9/21/2010 7:49 PM, josef.pktd@gmail.com wrote:
I don't see it in Add/Remove. Whoops. It is on this Win7 machine. I need to check my XP machine. I'll be back when I figure out if that's right. My not always recollection was that it was not on Add/Remove under XP.
I'm dealing with people who barely understand software, so keeping this simple is the best thing to do. This version of the application is the last, and we might as well treat it as frozen. I really don't want to try to correct people's install problems or attempts to move ahead with the various libraries we use over the internet, so simple is it. If you want to have a frozen application, the best might be to use
On Tue, Sep 21, 2010 at 10:32 PM, Wayne Watson
wrote: py2exe, but maybe not worth the effort, if they don't mess with the installed python packages. Josef
On 9/21/2010 4:38 PM, josef.pktd@gmail.com wrote:
On Tue, Sep 21, 2010 at 7:01 PM, Wayne Watson
wrote: I may have bounced a similar problem around here a few months ago, but this one is a bit more important to get an answer for.
I'm about to distribute some report programs to three people who work together and should be using the same version of Python and libraries that I use, and a common application to us. However, to create two new report programs they do not have, I need to make sure we do have the same versions, and in particular need to use the numpy 1.2.0 I used for the report programs.
To replace the old numpy and make sure we are all on on the same wave length, I wrote the description below. I want to know if what I say about removing 1.1.0 and installing 1.2.0 is correct. I think deleting the folder as below is the right way to go. numpy is not in Control Panel Add/Remove. I have some numpy versions in there
I would recommend to first check Add/Remove, and delete from there and then delete the numpy folder in site-packages if it is still there.
Why don't you upgrade to the latest release. If you are already upgrading, jumping to the latest might be better.
Josef
Comments?
================================= Required Libraries for Sentinel Report Programs for Win XP ... You will need to replace your numpy-1.1.0 library. This is accomplished by first removing numpy-1.1.0 from the Python library located at
C:\Python2.5\Lib\site-packages.
Delete the numpy folder.
Next execute the numpy-1.2.0-win32-superpack-python2.5.exe to install numpy 1.2.0.
Try sentuser.py to make sure it runs properly. If not, contact me. ==================================
-- Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh about 0.1% less than at the poles. Centrifugal force is directed opposite gravity there--zero at the poles. -- WTW
Web Page:
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
-- Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh about 0.1% less than at the poles. Centrifugal force is directed opposite gravity there--zero at the poles. -- WTW
Web Page:
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh
about 0.1% less than at the poles. Centrifugal force
is directed opposite gravity there--zero at the poles.
-- WTW
Web Page:
On 09/22/2010 11:16 AM, Wayne Watson wrote:
I've considered it, but it's way too time consuming to work out the details. I spent a week some time ago dealing with a simple test program, maybe 10 lines of code, trying to get it to work, which I think I did. I just need to work what I've got.
On 9/21/2010 7:49 PM, josef.pktd@gmail.com wrote:
I don't see it in Add/Remove. Whoops. It is on this Win7 machine. I need to check my XP machine. I'll be back when I figure out if that's right. My not always recollection was that it was not on Add/Remove under XP.
I'm dealing with people who barely understand software, so keeping this simple is the best thing to do. This version of the application is the last, and we might as well treat it as frozen. I really don't want to try to correct people's install problems or attempts to move ahead with the various libraries we use over the internet, so simple is it. If you want to have a frozen application, the best might be to use
On Tue, Sep 21, 2010 at 10:32 PM, Wayne Watson
wrote: py2exe, but maybe not worth the effort, if they don't mess with the installed python packages. Josef
On 9/21/2010 4:38 PM, josef.pktd@gmail.com wrote:
On Tue, Sep 21, 2010 at 7:01 PM, Wayne Watson
wrote: I may have bounced a similar problem around here a few months ago, but this one is a bit more important to get an answer for.
I'm about to distribute some report programs to three people who work together and should be using the same version of Python and libraries that I use, and a common application to us. However, to create two new report programs they do not have, I need to make sure we do have the same versions, and in particular need to use the numpy 1.2.0 I used for the report programs.
To replace the old numpy and make sure we are all on on the same wave length, I wrote the description below. I want to know if what I say about removing 1.1.0 and installing 1.2.0 is correct. I think deleting the folder as below is the right way to go. numpy is not in Control Panel Add/Remove.
I have some numpy versions in there
I would recommend to first check Add/Remove, and delete from there and then delete the numpy folder in site-packages if it is still there.
Why don't you upgrade to the latest release. If you are already upgrading, jumping to the latest might be better.
Josef
Comments?
================================= Required Libraries for Sentinel Report Programs for Win XP ... You will need to replace your numpy-1.1.0 library. This is accomplished by first removing numpy-1.1.0 from the Python library located at
C:\Python2.5\Lib\site-packages.
Delete the numpy folder.
Next execute the numpy-1.2.0-win32-superpack-python2.5.exe to install numpy 1.2.0.
Try sentuser.py to make sure it runs properly. If not, contact me. ==================================
-- Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh about 0.1% less than at the poles. Centrifugal force is directed opposite gravity there--zero at the poles. -- WTW
Web Page:
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
-- Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh about 0.1% less than at the poles. Centrifugal force is directed opposite gravity there--zero at the poles. -- WTW
Web Page:
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
On my old Windows XP (service pack 2!) running Python 2.5.2, running 'numpy-1.1.0-win32-superpack-python2.5.exe' registers numpy (Python 2.5 numpy-1.1.0).
So you really have to remove numpy from the registry - usually via the 'Add/Remove programs' and then install the new version. (There is probably some script that can do that like these that I have zero clue if these will work that I got from a google search http://mcpmag.com/articles/2005/05/09/automated-uninstall.aspx, http://www.ehow.com/how_5185226_uninstall-software-vb-script.html) Failing that it gets rather dangerous : Just install 'numpy-1.2.0-win32-superpack-python2.5.exe' without removing the previous version. But that WILL leave a minefield of 'orphan' files. So if you delete the numpy egg file and directory in 'C:\Python2.5\Lib\site-packages\', numpy entry is still in the registry (appears in 'Add/Remove programs'). Then you can then install 'numpy-1.2.0-win32-superpack-python2.5.exe' and get a new numpy entry in the registry. There may be still traces of numpy in the registry but probably not sufficient to create major problems. Bruce
On 9/22/2010 10:28 AM, Bruce Southey wrote: ...
On my old Windows XP (service pack 2!) running Python 2.5.2, running 'numpy-1.1.0-win32-superpack-python2.5.exe' registers numpy (Python 2.5 numpy-1.1.0).
So you really have to remove numpy from the registry - usually via the 'Add/Remove programs' and then install the new version. (There is probably some script that can do that like these that I have zero clue if these will work that I got from a google search http://mcpmag.com/articles/2005/05/09/automated-uninstall.aspx, http://www.ehow.com/how_5185226_uninstall-software-vb-script.html)
Failing that it gets rather dangerous :
Just install 'numpy-1.2.0-win32-superpack-python2.5.exe' without removing the previous version. But that WILL leave a minefield of 'orphan' files. So if you delete the numpy egg file and directory in 'C:\Python2.5\Lib\site-packages\', numpy entry is still in the registry (appears in 'Add/Remove programs'). Then you can then install 'numpy-1.2.0-win32-superpack-python2.5.exe' and get a new numpy entry in the registry. There may be still traces of numpy in the registry but probably not sufficient to create major problems.
Bruce
Interesting. As it turns out, on XP numpy is in Add/Remove, so it can be
removed there. Should be a problem.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Want to lose weight? Move to the equator. You'll weigh
about 0.1% less than at the poles. Centrifugal force
is directed opposite gravity there--zero at the poles.
-- WTW
Web Page:
Wayne Watson wrote:
I've considered it, but it's way too time consuming to work out the details. I spent a week some time ago dealing with a simple test program, maybe 10 lines of code, trying to get it to work, which I think I did. I just need to work what I've got.
There is a lot to be said for something that works already. However, I think it is generally a bad idea to distribute software based on python that relies on the standard python install with particular packages -- this will only work if you assume that that machine will not use python for anything else -- if two pieces of software both do this, but need different versions of packages, you are guaranteed breakage. RedHat did it with python way back when (I have no idea if they've changed that -- but it was pain). ESRI (GIS system) delivers the standard Windows Python version something with its GIS tools, and things break if you upgrade parts of it. Apple uses its system Python for some of its admin tools, and again, relies on who knows which versions of which packages. All this points to delivering python to your users separately from the standard install. If it's one app, use py2exe, py2app, pyInstaller, bbfreeze, whatever. If it's a collection of apps, you may want to built it on a custom python install, and/or maybe virtualenv. Anyway, if you know your users, and know they will, for sure, not use Python for anything else, then it's not a problem, but I think it's hard to know that. py2exe can be a pain, but it's usually short term pain -- once you have it working for your project, it keeps working (untill you add a new package anyway...) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker@noaa.gov
participants (4)
-
Bruce Southey
-
Christopher Barker
-
josef.pktd@gmail.com
-
Wayne Watson