[Python-talk] mat3d error

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


If I type 
$which python  I get
/usr/bin/python

$ cat /usr/bin/easy_install  is the same as yours, with the exception of
version number.

#!/usr/bin/python
# EASY-INSTALL-ENTRY-SCRIPT:
'setuptools==0.6c5','console_scripts','easy_install'
__requires__ = 'setuptools==0.6c5'
import sys
from pkg_resources import load_entry_point

sys.exit(
   load_entry_point('setuptools==0.6c5', 'console_scripts',
'easy_install')()
)

So this is OK?


-----Original Message-----
From: Python [mailto:python at venix.com] 
Sent: Friday, September 12, 2008 10:21 AM
To: Labitt, Bruce
Cc: python-talk at dlslug.org
Subject: RE: [Python-talk] mat3d error


On Fri, 2008-09-12 at 10:09 -0400, Labitt, Bruce wrote:
> OK, I just found something funky.  I have python spread out over too
> places - i.e, I have a python in /usr/lib AND in /usr/lib64 !!!  
> 
> I think I'd like it only in lib64.  So I have site-packages in both
> locations...
> 
> Umm, how do I clean this up?
> 
> # ldd /usr/bin/python reveals
>    things are in /lib64
> 
> But when I used easy_install, it put stuff into 
>    /usr/lib/python2.4/site-packages
> 
My easy_install looks like:
------------------------------------------------------------------------
-------
cat /usr/bin/easy_install
#!/usr/bin/python
# EASY-INSTALL-ENTRY-SCRIPT:
'setuptools==0.6c8','console_scripts','easy_install'
__requires__ = 'setuptools==0.6c8'
import sys
from pkg_resources import load_entry_point

sys.exit(
   load_entry_point('setuptools==0.6c8', 'console_scripts',
'easy_install')()
)
------------------------------------------------------------------------
-------
The first line (shebang) would seem to be the controlling factor.

When you type 
	python
which python do you get?

> instead of /usr/lib64/python2.4/site-packages
> 
> ???
> 
> -Bruce
> 
> 
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug



More information about the Python-talk mailing list