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 269 forks source link

Error when attempting to install qiime on Mac OS X #2190

Closed foreignsand closed 7 years ago

foreignsand commented 7 years ago

I have no idea what is happening but I get the following error when I try to install qiime:

$ pip 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 "", line 1, in File "/private/var/folders/4n/0ghjrzsd4g393zjlgxy9ympc0000gn/T/pip-build-csdegl5r/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 /private/var/folders/4n/0ghjrzsd4g393zjlgxy9ympc0000gn/T/pip-build-csdegl5r/qiime/

I've traced the problem [I think] to python setuptools which seem to be installed both for anaconda and python [various versions] but in whatever version is being accessed to install qiime the setup.py command doesn't seem to be working. Or at least this is my interpretation, which could be completely wrong.

Any help would be much appreciated!

foreignsand commented 7 years ago

Just a little addendum:

I'm running El Capitan 10.11.6 and am wondering if it's an issue with the OS blocking write privileges to the /usr/bin directory. I opted to install MacQIIME after being unable to install QIIME and discovered this quirk when copying the macqiime command to /usr/bin failed. /usr/local/bin works.

jairideout commented 7 years ago

Can you please post your question on the QIIME 1 forum? That's where we provide user support.