I am using the default ubuntu 12.04 python.
Andrew KrohnPhD Candidate, NAU Biological SciencesResearch Technician, EnGGenOn Thu, Jun 6, 2013 at 1:17 PM, Dannon Baker <dannon.baker@gmail.com> wrote:
How did you install your python, or are you using the default ubuntu 12.04 version? The bz2 module should be distributed with any python since 2.3.-DannonOn Thu, Jun 6, 2013 at 3:25 PM, Andrew Krohn <alk224@nau.edu> wrote:___________________________________________________________I looked through others' problems, but this seems unique. I just did a clean install of Ubuntu 12.04 and wanted to add Galaxy to integrate our various pipelines (16S rRNA via qiime, RADseq data, small genome assemblies). However, I seem to be stuck at the beginning of the install. Followed instructions from this page explicitly (http://wiki.galaxyproject.org/Admin/Get%20Galaxy). When I run sh run.sh, I get the below output, and the server cannot be accessed via web browser. I am using python 2.7.3. I opened a python instance and ran import bz2, but then I get the same error (ImportError: No module named bz2).enggen@OptimusPrime:~/galaxy-dist$ sh run.shTraceback (most recent call last):File "./scripts/paster.py", line 33, in <module>serve.run()File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/serve.py", line 1049, in runinvoke(command, command_name, options, args[1:])File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/serve.py", line 1055, in invokeexit_code = runner.run(args)File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/serve.py", line 220, in runresult = self.command()File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/serve.py", line 643, in commandapp = loadapp( app_spec, name=app_name, relative_to=base, global_conf=vars)File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 350, in loadappreturn loadobj(APP, uri, name=name, **kw)File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 374, in loadobjglobal_conf=global_conf)File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 399, in loadcontextglobal_conf=global_conf)File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 423, in _loadconfigreturn loader.get_context(object_type, name, global_conf)File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 561, in get_contextsection)File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 620, in _context_from_explicitvalue = import_string(found_expr)File "/home/enggen/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 125, in import_stringreturn pkg_resources.EntryPoint.parse("x=" + s).load(False)File "/home/enggen/galaxy-dist/lib/pkg_resources.py", line 1954, in loadentry = __import__(self.module_name, globals(),globals(), ['__name__'])File "/home/enggen/galaxy-dist/lib/galaxy/web/buildapp.py", line 3, in <module>from galaxy.webapps.galaxy.buildapp import app_factoryFile "/home/enggen/galaxy-dist/lib/galaxy/webapps/galaxy/buildapp.py", line 17, in <module>import galaxy.modelFile "/home/enggen/galaxy-dist/lib/galaxy/model/__init__.py", line 23, in <module>import galaxy.datatypes.registryFile "/home/enggen/galaxy-dist/lib/galaxy/datatypes/registry.py", line 5, in <module>import data, tabular, interval, images, sequence, qualityscore, genetics, xml, coverage, tracks, chrominfo, binary, assembly, ngsindexFile "/home/enggen/galaxy-dist/lib/galaxy/datatypes/tabular.py", line 14, in <module>from galaxy.datatypes.checkers import is_gzipFile "/home/enggen/galaxy-dist/lib/galaxy/datatypes/checkers.py", line 1, in <module>import os, gzip, re, gzip, zipfile, binascii, bz2, imghdrImportError: No module named bz2Andrew KrohnPhD Candidate, NAU Biological SciencesResearch Technician, EnGGen
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at:
http://galaxyproject.org/search/mailinglists/