On Tue, Nov 1, 2011 at 10:09 PM, Cédric Krier <[email protected]> wrote:

> On 01/11/11 21:54 +0200, Bashar wrote:
>
>
> >Just install it. Simpliest way is to use pip [1]
>
I tried to install gnu health using pip and got the following:
######################################################################################
/usr/lib/pymodules/python2.6/pip/baseparser.py:5: UserWarning: Module
pkg_resources was already imported from
/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py,
but /usr/lib/python2.6/dist-packages is being added to sys.path
  import pkg_resources
/usr/lib/pymodules/python2.6/pip/baseparser.py:5: UserWarning: Module site
was already imported from /usr/lib/python2.6/site.pyc, but
/usr/lib/python2.6/dist-packages is being added to sys.path
  import pkg_resources
Downloading/unpacking trytond-health-profile
  Downloading trytond_health_profile-1.4.2.tar.gz
  Running setup.py egg_info for package trytond-health-profile

/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/sdist.py:4:
UserWarning: Module pkg_resources was already imported from
/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py,
but /usr/lib/python2.6/dist-packages is being added to sys.path

/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/sdist.py:4:
UserWarning: Module setuptools was already imported from
/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/__init__.py,
but /usr/lib/python2.6/dist-packages is being added to sys.path

/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/sdist.py:4:
UserWarning: Module site was already imported from
/usr/lib/python2.6/site.pyc, but /usr/lib/python2.6/dist-packages is being
added to sys.path
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File
"/home/bashar/Desktop/HardDiscDrivesURLS/Temp/build/trytond-health-profile/setup.py",
line 72, in <module>
        """,
      File "/usr/lib/python2.6/distutils/core.py", line 113, in setup
        _setup_distribution = dist = klass(attrs)
      File
"/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py",
line 223, in __init__
      File "/usr/lib/python2.6/distutils/dist.py", line 270, in __init__
        self.finalize_options()
      File
"/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py",
line 256, in finalize_options
      File
"/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py",
line 1918, in load
        parts = []
    ImportError: <module 'setuptools.dist' from
'/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py'>
has no 'check_packages' attribute
    Complete output from command python setup.py egg_info:

/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/sdist.py:4:
UserWarning: Module pkg_resources was already imported from
/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py,
but /usr/lib/python2.6/dist-packages is being added to sys.path

/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/sdist.py:4:
UserWarning: Module setuptools was already imported from
/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/__init__.py,
but /usr/lib/python2.6/dist-packages is being added to sys.path

/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/sdist.py:4:
UserWarning: Module site was already imported from
/usr/lib/python2.6/site.pyc, but /usr/lib/python2.6/dist-packages is being
added to sys.path

Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File
"/home/bashar/Desktop/HardDiscDrivesURLS/Temp/build/trytond-health-profile/setup.py",
line 72, in <module>

    """,

  File "/usr/lib/python2.6/distutils/core.py", line 113, in setup

    _setup_distribution = dist = klass(attrs)

  File
"/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py",
line 223, in __init__

  File "/usr/lib/python2.6/distutils/dist.py", line 270, in __init__

    self.finalize_options()

  File
"/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py",
line 256, in finalize_options

  File
"/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py",
line 1918, in load

    parts = []

ImportError: <module 'setuptools.dist' from
'/usr/local/lib/python2.6/dist-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py'>
has no 'check_packages' attribute

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /root/.pip/pip.log
########################################################################################################


>
> >It doesn't seem as the module 'health' is not find.
> I don't know what's wrong cause I really installed GNU health completely!
>
>
>
> thanks!
>

-- 
[email protected] mailing list

Reply via email to