Failed to install dash 1.7 on linux

Hi,
I have followed installation guide but failed to install dash on linux centos

  1. Have installed latest python version (3.8.1)
# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/opt/Python-3.8.1
  1. Intsllation failed:
    =================
# /bin/pip install dash==1.7.0
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting dash==1.7.0
  Using cached https://files.pythonhosted.org/packages/30/7e/0e7d010ae02797b522e368d53db24ac78f14dc982af6a599c06a67fce576/dash-1.7.0.tar.gz
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-3m_hAE/dash/setup.py'"'"'; __file__='"'"'/tmp/pip-install-3m_hAE/dash/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-3m_hAE/dash/pip-egg-info
         cwd: /tmp/pip-install-3m_hAE/dash/
    Complete output (5 lines):
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    error in dash setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Please advise
Thanks

1 Like

Hi @Swimmer, it looks like your still using pip with python2 and not python3. Maybe you need to call pip3 install instead of pip install?

I have the SAME problem!

Please help!!!