Error during installing Indico version 3

Hi
I tried to install the Indico version 3 using the steps available on the following link (Apache — Indico 3.0-dev documentation) and I received the following error.

pip install indico
Collecting indico
Using cached indico-1.2.2.tar.gz (54.2 MB)
ERROR: Command errored out with exit status 1:
command: /opt/indico/.venv/bin/python -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-eghwqlbv/indico_2d923063a76c4f42aa3a66b58f2c5e77/setup.py’"’"’; file=’"’"’/tmp/pip-install-eghwqlbv/indico_2d923063a76c4f42aa3a66b58f2c5e77/setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; setup()’"’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base /tmp/pip-pip-egg-info-5gkuok18
cwd: /tmp/pip-install-eghwqlbv/indico_2d923063a76c4f42aa3a66b58f2c5e77/
Complete output (6 lines):
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-install-eghwqlbv/indico_2d923063a76c4f42aa3a66b58f2c5e77/setup.py”, line 219
print ‘Upgrading existing etc/indico.conf…’
^
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(‘Upgrading existing etc/indico.conf…’)?

Any idea?

Indico 3 is not released yet so installing it from PyPI is not yet possible.

I’m not sure why you get this VERY ancient 1.2 though; I’d expect pip to give you 2.3.5 (which would also fail to install on Python 3 as 2.x requires Python 2.7).

1 Like

If you want to test 3.0, here’s an up to date wheel: indico-3.0.dev0+202106101552.b012c92b2b-py3-none-any.whl (41.5 MB)

  • no guarantees that it’s stable
  • there are no plugins for 3.0 released to pypi yet either (so don’t try to install any indico plugins via pip)
1 Like

Thanks, the installation work fine.