[Numpy-discussion] Removing numpy numpy-1.1.0 in Python 2.5
Bruce Southey
bsouthey@gmail....
Wed Sep 22 12:28:08 CDT 2010
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:
>> On Tue, Sep 21, 2010 at 10:32 PM, Wayne Watson
>> <sierra_mtnview@sbcglobal.net> 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
>> 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
>>>> <sierra_mtnview@sbcglobal.net> 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:<www.speckledwithstars.net/>
>>>>>
>>>>> _______________________________________________
>>>>> 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:<www.speckledwithstars.net/>
>>>
>>> _______________________________________________
>>> 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
More information about the NumPy-Discussion
mailing list