PyEphem 3.7.3.4 Installation error in opensuse 11.1 (x86-64) using easy_install

Bug #487885 reported by ngc628
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyEphem
Invalid
Undecided
Unassigned

Bug Description

Searching for pyephem
Reading http://pypi.python.org/simple/pyephem/
Reading http://rhodesmill.org/pyephem/
Best match: pyephem 3.7.3.4
Downloading http://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.3.4.tar.gz
Processing pyephem-3.7.3.4.tar.gz
Running pyephem-3.7.3.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-fEREW8/pyephem-3.7.3.4/egg-dist-tmp-ZICPGN
Traceback (most recent call last):
  File "/usr/local/bin/easy_install", line 8, in <module>
    load_entry_point('distribute==0.6.4', 'console_scripts', 'easy_install')()
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py", line 1702, in main
    with_ei_usage(lambda:
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py", line 1690, in with_ei_usage
    return f()
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py", line 1706, 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/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py", line 236, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py", line 471, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py", line 501, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py", line 680, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py", line 957, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py", line 946, in run_setup
    run_setup(setup_script, args)
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/sandbox.py", line 29, in run_setup
    lambda: execfile(
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/sandbox.py", line 70, in run
    return func()
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/sandbox.py", line 31, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 57, in <module>
  File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/dist.py", line 224, in __init__
    _Distribution.__init__(self,attrs)
  File "/usr/lib64/python2.6/distutils/dist.py", line 270, in __init__
    self.finalize_options()
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/dist.py", line 257, in finalize_options
    ep.load()(self, ep.name, value)
  File "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/pkg_resources.py", line 1922, in load
    raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'setuptools.dist' from '/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/dist.pyc'> has no 'check_packages' attribute

Revision history for this message
Brandon Rhodes (brandon-rhodes) wrote :

Since I do not see any of my own code in that traceback, I can only Google for that error to try to figure out why Distribute would be raising it. The results of my search suggest that the version of Distribute you are using, version 0.6.4, is flawed and that you need to upgrade to the most recent 0.6.8.

Could you try upgrading distribute with something like:

easy_install -U distribute

and then re-running the PyEphem install to see what happens?

Revision history for this message
ngc628 (ngc628) wrote : Re: [Bug 487885] Re: PyEphem 3.7.3.4 Installation error in opensuse 11.1 (x86-64) using easy_install
Download full text (4.8 KiB)

Thanks Brandon,

It is working well!! PyEphem is really cool stuff.

Cheers,

JH

On Wed, Nov 25, 2009 at 10:36 AM, Brandon Craig Rhodes <
<email address hidden>> wrote:

> Since I do not see any of my own code in that traceback, I can only
> Google for that error to try to figure out why Distribute would be
> raising it. The results of my search suggest that the version of
> Distribute you are using, version 0.6.4, is flawed and that you need to
> upgrade to the most recent 0.6.8.
>
> Could you try upgrading distribute with something like:
>
> easy_install -U distribute
>
> and then re-running the PyEphem install to see what happens?
>
> --
> PyEphem 3.7.3.4 Installation error in opensuse 11.1 (x86-64) using
> easy_install
> https://bugs.launchpad.net/bugs/487885
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in PyEphem astronomy library for Python: New
>
> Bug description:
> Searching for pyephem
> Reading http://pypi.python.org/simple/pyephem/
> Reading http://rhodesmill.org/pyephem/
> Best match: pyephem 3.7.3.4
> Downloading
> http://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.3.4.tar.gz
> Processing pyephem-3.7.3.4.tar.gz
> Running pyephem-3.7.3.4/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-fEREW8/pyephem-3.7.3.4/egg-dist-tmp-ZICPGN
> Traceback (most recent call last):
> File "/usr/local/bin/easy_install", line 8, in <module>
> load_entry_point('distribute==0.6.4', 'console_scripts',
> 'easy_install')()
> File
> "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py",
> line 1702, in main
> with_ei_usage(lambda:
> File
> "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py",
> line 1690, in with_ei_usage
> return f()
> File
> "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py",
> line 1706, 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/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py",
> line 236, in run
> self.easy_install(spec, not self.no_deps)
> File
> "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py",
> line 471, in easy_install
> return self.install_item(spec, dist.location, tmpdir, deps)
> File
> "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py",
> line 501, in install_item
> dists = self.install_eggs(spec, download, tmpdir)
> File
> "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setuptools/command/easy_install.py",
> line 680, in install_eggs
> return self.build_and_install(setup_script, setup_base)
> File
> "/usr/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg/setupto...

Read more...

Revision history for this message
Brandon Rhodes (brandon-rhodes) wrote :

Great! Feel free to email me with any questions, comments, or just with information about how you're using it. And, I'm glad we got it installed. :-)

Changed in pyephem:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.