Question: Package Galaxy Utils error on installation
2
gravatar for christophe.habib
3.1 years ago by
France
christophe.habib340 wrote:

Hello everyone,

Some tools need the package Galaxy Utils 1.0. Unfortunately this package can't be installed since the distribute egg have this error on building :

NameError: name 'sys_platform' is not defined

The full error is here :

Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.38.tar.gz
Extracting in /DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7
Now working in /DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7/distribute-0.6.38
Building a Distribute egg in /DATAS/user/galaxy/diag_19102015/database/tmp/tmp-toolshed-mtdcBbh8d/galaxy_sequence_utils-1.0.0
Traceback (most recent call last):
File "setup.py", line 248, in <module>
scripts = scripts,
File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7/distribute-0.6.38/setuptools/dist.py", line 225, in __init__
_Distribution.__init__(self,attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7/distribute-0.6.38/setuptools/dist.py", line 257, in finalize_options
ep.require(installer=self.fetch_build_egg)
File "/DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7/distribute-0.6.38/pkg_resources.py", line 2027, in require
working_set.resolve(self.dist.requires(self.extras),env,installer))
File "/DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7/distribute-0.6.38/pkg_resources.py", line 2237, in requires
dm = self._dep_map
File "/DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7/distribute-0.6.38/pkg_resources.py", line 2466, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7/distribute-0.6.38/pkg_resources.py", line 2499, in _compute_dependencies
common = frozenset(reqs_for_extra(None))
File "/DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7/distribute-0.6.38/pkg_resources.py", line 2496, in reqs_for_extra
if req.marker_fn(override={'extra':extra}):
File "/DATAS/user/galaxy/diag_19102015/tmp/tmpMqBBf7/distribute-0.6.38/_markerlib/markers.py", line 109, in marker_fn
return eval(compiled_marker, environment)
File "<environment marker>", line 1, in <module>
NameError: name 'sys_platform' is not defined
/DATAS/user/galaxy/diag_19102015/database/tmp/tmp-toolshed-mtdcBbh8d/galaxy_sequence_utils-1.0.0/distribute-0.6.38-py2.7.egg
Traceback (most recent call last):
File "setup.py", line 9, in <module>
use_setuptools()
File "/DATAS/user/galaxy/diag_19102015/database/tmp/tmp-toolshed-mtdcBbh8d/galaxy_sequence_utils-1.0.0/distribute_setup.py", line 152, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/DATAS/user/galaxy/diag_19102015/database/tmp/tmp-toolshed-mtdcBbh8d/galaxy_sequence_utils-1.0.0/distribute_setup.py", line 132, in _do_download
_build_egg(egg, tarball, to_dir)
File "/DATAS/user/galaxy/diag_19102015/database/tmp/tmp-toolshed-mtdcBbh8d/galaxy_sequence_utils-1.0.0/distribute_setup.py", line 123, in _build_egg
raise IOError('Could not build the egg.')
IOError: Could not build the egg.

I tried to uninstall/install again or to use the repair all repository function but it doesn't work.

I don't really understand this error and how to solve it to make the package available. Did you guys already see this?

Thank you for your help,

Christ

 

egg sys_platform distribute • 1.1k views
ADD COMMENTlink modified 3.1 years ago by Martin Čech ♦♦ 4.9k • written 3.1 years ago by christophe.habib340
2
gravatar for Martin Čech
3.1 years ago by
Martin Čech ♦♦ 4.9k
United States
Martin Čech ♦♦ 4.9k wrote:

Thanks for the report, we are working to resolve this issue.

ADD COMMENTlink written 3.1 years ago by Martin Čech ♦♦ 4.9k

Hi,

Did you find a solution about this package?

Thanks

ADD REPLYlink written 3.1 years ago by christophe.habib340
1

Thi shas been now resolved. Please try installing it again.

Additionally we made the sources browsable here: https://github.com/galaxyproject/sequence_utils

Thank you for using Galaxy

ADD REPLYlink written 3.0 years ago by Martin Čech ♦♦ 4.9k

Indeed now it works fine! Thank you!

ADD REPLYlink written 3.0 years ago by christophe.habib340
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 183 users visited in the last hour