biocore / qiime

Official QIIME 1 software repository. QIIME 2 (https://qiime2.org) has succeeded QIIME 1 as of January 2018.
GNU General Public License v2.0
285 stars 268 forks source link

Python 3 Syntax Error In 1.9.1 Preventing pip3 Install #2158

Closed Krailon closed 8 years ago

Krailon commented 8 years ago

When attempting to install Qiime via pip3 (Python3), the following error is encountered:

$ pip3 install qiime
Collecting qiime
  Using cached qiime-1.9.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-0b3qius7/qiime/setup.py", line 363
        if all([e not in sys.argv for e in 'egg_info', 'sdist', 'register']):
                                                     ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-0b3qius7/qiime/

This bug was fixed at the end of April: 78cd4eb~setup.py:363

gregcaporaso commented 8 years ago

@Krailon, QIIME 1 is Python 2 only, so I think you may just need to install with pip. You may also be interested in the conda install instructions though, currently linked from here.