Hi Team, I tried installing datahub via pip using...
# troubleshoot
n
Hi Team, I tried installing datahub via pip using the following command pip install datahub But I am getting the following error
Copy code
Requirement already satisfied: pip in /opt/conda/lib/python3.9/site-packages (22.0.4)
Collecting install
  Using cached install-1.3.5-py3-none-any.whl (3.2 kB)
Collecting datahub
  Using cached datahub-0.8.90dev.tar.gz (11 kB)
  Preparing metadata (setup.py) ... done
Collecting pastescript>=1.0
  Using cached PasteScript-3.2.1-py2.py3-none-any.whl (73 kB)
Collecting cheetah>=2.0
  Using cached Cheetah-2.4.4.tar.gz (190 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-qqhf77ju/cheetah_8ebe7010343c4b18a855f6ae5ba8cd7b/setup.py", line 10, in <module>
          import SetupTools
        File "/tmp/pip-install-qqhf77ju/cheetah_8ebe7010343c4b18a855f6ae5ba8cd7b/SetupTools.py", line 50
          except DistutilsPlatformError, x:
                                       ^
      SyntaxError: invalid syntax
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
h
Hey @numerous-account-62719 you seem to be using incorrect pypi package. The correct one is
pip install acryl-datahub
as described in quickstart