A tool for find dependencies relationships behind Python projects

Shashwat Anand anand.shashwat at gmail.com
Mon Feb 22 11:49:42 EST 2010


Same issue here, easy_install fails
here is traceback,

Shashwat-Anands-MacBook-Pro:Downloads l0nwlf$ easy_install gluttony
Searching for gluttony
Reading http://pypi.python.org/simple/gluttony/
Reading http://code.google.com/p/python-gluttony/
Best match: Gluttony 0.3
Downloading
http://pypi.python.org/packages/source/G/Gluttony/Gluttony-0.3.zip#md5=c7774d4fcc0402097f90dc81186de465
Processing Gluttony-0.3.zip
Running Gluttony-0.3/setup.py -q bdist_egg --dist-dir
/var/folders/Hm/Hmz8Y9rDEXqrbr8IUNiNiU+++TI/-Tmp-/easy_install-zlrBGJ/Gluttony-0.3/egg-dist-tmp-N3AofQ
Traceback (most recent call last):
  File "/usr/bin/easy_install-2.6", line 10, in <module>
    load_entry_point('setuptools==0.6c9', 'console_scripts',
'easy_install')()
  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 1671, in main

  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 1659, in with_ei_usage

  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 1675, in <lambda>

  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py",
line 152, in setup
    dist.run_commands()
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
line 975, in run_commands
    self.run_command(cmd)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
line 995, in run_command
    cmd_obj.run()
  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 211, in run

  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 446, in easy_install

  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 476, in install_item

  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 655, in install_eggs

  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 930, in build_and_install

  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 919, in run_setup

  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py",
line 27, in run_setup
  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py",
line 63, in run
  File
"/Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py",
line 29, in <lambda>
  File "setup.py", line 9, in <module>
  File
"/var/folders/Hm/Hmz8Y9rDEXqrbr8IUNiNiU+++TI/-Tmp-/easy_install-zlrBGJ/Gluttony-0.3/gluttony/__init__.py",
line 1, in <module>
  File
"/var/folders/Hm/Hmz8Y9rDEXqrbr8IUNiNiU+++TI/-Tmp-/easy_install-zlrBGJ/Gluttony-0.3/gluttony/gluttony.py",
line 13, in <module>
ImportError: No module named pip.log


On Mon, Feb 22, 2010 at 10:02 PM, Hellmut Weber <mail at hellmutweber.de>wrote:

> Hi Victor,
> I would be intereseted to use your tool ;-)
>
> My system is Sabayon-5.1 on Lenovo T61.
> Trying for the first time easy_install I get the following error:
>
> ====================
>
> root at sylvester ~ # easy_install gluttony
> Searching for gluttony
> Reading http://pypi.python.org/simple/gluttony/
> Reading http://code.google.com/p/python-gluttony/
> Best match: Gluttony 0.3
>
> Downloading
> http://pypi.python.org/packages/source/G/Gluttony/Gluttony-0.3.zip#md5=c7774d4fcc0402097f90dc81186de465
> Processing Gluttony-0.3.zip
> Running Gluttony-0.3/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-uPz7qO/Gluttony-0.3/egg-dist-tmp-CJI_LD
> Traceback (most recent call last):
>  File "/usr/bin/easy_install", line 9, in <module>
>    load_entry_point('distribute==0.6.8', 'console_scripts',
> 'easy_install')()
>  File
> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
> line 1708, in main
>    with_ei_usage(lambda:
>  File
> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
> line 1696, in with_ei_usage
>    return f()
>  File
> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
> line 1712, in <lambda>
>    distclass=DistributionWithoutHelpCommands, **kw
>  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
>    dist.run_commands()
>  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
>    self.run_command(cmd)
>  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
>    cmd_obj.run()
>  File
> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
> line 236, in run
>    self.easy_install(spec, not self.no_deps)
>  File
> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
> line 471, in easy_install
>    return self.install_item(spec, dist.location, tmpdir, deps)
>  File
> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
> line 501, in install_item
>    dists = self.install_eggs(spec, download, tmpdir)
>  File
> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
> line 680, in install_eggs
>    return self.build_and_install(setup_script, setup_base)
>  File
> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
> line 957, in build_and_install
>    self.run_setup(setup_script, setup_base, args)
>  File
> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
> line 946, in run_setup
>    run_setup(setup_script, args)
>  File "/usr/lib64/python2.6/site-packages/setuptools/sandbox.py", line 29,
> in run_setup
>    lambda: execfile(
>  File "/usr/lib64/python2.6/site-packages/setuptools/sandbox.py", line 70,
> in run
>    return func()
>  File "/usr/lib64/python2.6/site-packages/setuptools/sandbox.py", line 31,
> in <lambda>
>    {'__file__':setup_script, '__name__':'__main__'}
>  File "setup.py", line 9, in <module>
>  File "/tmp/easy_install-uPz7qO/Gluttony-0.3/gluttony/__init__.py", line 1,
> in <module>
>    #
>  File "/tmp/easy_install-uPz7qO/Gluttony-0.3/gluttony/gluttony.py", line
> 13, in <module>
> ImportError: No module named pip.log
> root at sylvester ~ #
>
> ====================
>
> I emerged app-misc/pip, but that didn't help, the error remains the same
>
> What is missing?
>
> Any help appreciated
>
> Best regards
>
> Hellmut
>
>
> Am 19.02.2010 17:16, schrieb Victor Lin:
>
>  Hi,
>>
>> I just wrote a tool for drawing dependencies relationships diagram of
>> Python project on Pypi.  Here is the home page of the tool:
>>
>> http://code.google.com/p/python-gluttony/
>>
>> Some examples:
>> Sprox:
>> http://static.ez2learn.com/gluttony/sprox_dot.png
>>
>> TurboGears2:
>> http://static.ez2learn.com/gluttony/tg2_dot.png
>>
>> Hope this could be helpful :P
>>
>> Regards.
>> Victor Lin.
>>
>
> --
> Dr. Hellmut Weber         mail at hellmutweber.de
> Degenfeldstraße 2         tel   +49-89-3081172
> D-80803 München-Schwabing mobil +49-172-8450321
> please: No DOCs, no PPTs. why: tinyurl.com/cbgq
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100222/73c71d18/attachment-0001.html>


More information about the Python-list mailing list