Problem installing BIOM

623 views
Skip to first unread message

Eustacia Lee

unread,
Apr 15, 2014, 10:04:06 PM4/15/14
to qiime...@googlegroups.com
Hi,

I am using Mac Book Pro OS X version 10.9.2 and I have problem installing BIOM-format.

I tried to install PYQi since biom-format required this. 
The following showed up when I run  python setup.py install:

Traceback (most recent call last):

  File "setup.py", line 52, in <module>

    ver = '.'.join(map(str, [sys.version_info.major, sys.version_info.minor]))

AttributeError: 'tuple' object has no attribute 'major'

Beside, there is an error after installing the BIOM-format and tested using the following command:


python -c "from biom import __version__; print __version__"


Traceback (most recent call last):

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

  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/biom_format-1.3.1_dev-py2.6.egg/biom/__init__.py", line 26, in <module>

    from biom.util import load_biom_config

  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/biom_format-1.3.1_dev-py2.6.egg/biom/util.py", line 19, in <module>

    from pyqi.util import pyqi_system_call

  File "pyqi/util.py", line 15, in <module>

    import importlib

ImportError: No module named importlib

Could you please advice what should I do?

Thanks.

Regards,

Lee Soo Ching
Department of Parasitology
Faculty of Medicine
University of Malaya

Jai Ram Rideout

unread,
Apr 16, 2014, 9:49:36 AM4/16/14
to qiime...@googlegroups.com
Hello,

You'll need Python 2.7 installed (this error occurs if you're using a version of Python older than 2.7).

-Jai


--

---
You received this message because you are subscribed to the Google Groups "Qiime Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qiime-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages