[PEAK] workingenv easy_install and python2.5? do they work together?

Jorge Vargas jorge.vargas at gmail.com
Thu Feb 1 01:37:52 EST 2007


Hi
I think there is a mismatch on the way easy_install works for python2.5 here
is how to reproduce.

elpargo at notebook:~/code/python$ /usr/bin/python2.5 workingenv.py tgpy25
...
elpargo at notebook:~/code/python$ source tgpy25/bin/activate

(tgpy25)elpargo at notebook:~/code/python$ easy_install
Traceback (most recent call last):
  File "/home/elpargo/code/python/tgpy25/bin/easy_install", line 5, in
<module>
    import setuptools
  File
"/home/elpargo/code/python/tgpy25/lib/python2.5/setuptools/__init__.py",
line 13, in <module>
    execfile(os.path.join(setuptools_path, '__init__.py'))
IOError: [Errno 20] Not a directory:
'/home/elpargo/code/python/tgpy25/lib/python2.5/setuptools-0.6c5-py2.5.egg
/setuptools/__init__.py'

now this is true since workingenv is leaving the file as an egg

(tgpy25)elpargo at notebook:~/code/python$ cd tgpy25/lib/python2.5/setuptools-
0.6c5-py2.5.egg
bash: cd: tgpy25/lib/python2.5/setuptools-0.6c5-py2.5.egg: Not a directory

but then there is.

(tgpy25)elpargo at notebook:~/code/python/tgpy25/lib/python2.5/setuptools$ ls
__init__.py  __init__.pyc

so my confusion here is if the problem because workingenv is using zipSafe
on setuptools, or is easy_install looking at the wrong path?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eby-sarna.com/pipermail/peak/attachments/20070201/6a7adad9/attachment.html


More information about the PEAK mailing list