[Python-talk] mat3d error

Labitt, Bruce labittb1 at tycoelectronics.com
Fri Sep 12 14:28:28 EDT 2008


> 
> If I execute that command in usr/lib/python2.4/site-packages I get
> references to /usr/lib, except for the PIL whose libs are in
> usr/lib64/...
> 
> If I execute the cmd in usr/lib64/python2.4/site-packages I get the
libs
> in usr/lib64.
> 
> Not what I would think is revealing...  Do you read something into the
> above?

Yes.  

Unless there are symlinks involved, you appear to have two python2.4
installations.  Those would normally be independent.  I'm not sure which
one is the one to rely on - I just have no practical 64bit experience or
knowledge.

rpm -qf /usr/lib64/python2.4/site-packages

rpm -qf /usr/lib/python2.4/site-packages

should give some indication of which is the preferred python.

[Labitt, Bruce] ===================================================
# rpm -qf /usr/lib64/python2.4/site-packages
python-2.4.3-21.el5.x86_64
kdebindings-3.5.4-1.fc6.x86_64
graphviz-python-2.18-3.sl.x86_64

# rpm -qf /usr/lib/python2.4/site-packages
python-2.4.3-21.el5.x86_64

They look to be the same...
===================================================================

perhaps I should be shutting up and letting someone with a clue try to
give you a hand.

[Labitt, Bruce] ===================================================
Where would the fun in that be?
===================================================================

> 
> 
> As an aside, I looked into the tar file PyOpenGL and found a reference
> to ctypes which indicated version 1.0.1...  I just downloaded the
1.0.1.
> Right now on my system I have v1.0.2 which was installed using
> easy_install.
> 
> How does one uninstall with easy_install?
> 
> I could try uninstalling ctypes-1.0.2 and installing ctypes-1.0.1.
> Then do I need to uninstall PyOpenGL and reinstall?
> 
> ???

[Labitt, Bruce] I think I know how to do this uninstalling.  Do I need
to manually delete files?  From
http://peak.telecommunity.com/DevCenter/EasyInstall#downloading-and-inst
alling-a-package

"If you want to delete the currently installed version of a package (or
all versions of a package), you should first run:

	easy_install -m PackageName

"After you've done this, you can safely delete the .egg files or
directories, along with any scripts you wish to remove."

-Bruce


More information about the Python-talk mailing list