amundsen-io / amundsen

Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.
https://www.amundsen.io/amundsen/
Apache License 2.0
4.37k stars 953 forks source link

problem with setup.py #2187

Open pranitM23pgai opened 1 year ago

pranitM23pgai commented 1 year ago

Discussed in https://github.com/amundsen-io/amundsen/discussions/2186

Originally posted by **pranitM23pgai** August 24, 2023 while deploying amundsen on my local machine i ran "$ python3 setup.py install". Its getting stuck sort of hang on the below step and not moving beyond. Installed /mnt/c/users/pranit.malik_karkino/documents/Gitlab_repos/amundsen/amundsen-poc/databuilder/venv/lib/python3.10/site-packages/amundsen_databuilder-7.4.4-py3.10.egg Processing dependencies for amundsen-databuilder==7.4.4 Searching for pandas Reading https://pypi.org/simple/pandas/ /mnt/c/users/pranit.malik_karkino/documents/Gitlab_repos/amundsen/amundsen-poc/databuilder/venv/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release warnings.warn(
boring-cyborg[bot] commented 1 year ago

Thanks for opening your first issue here!

pranitM23pgai commented 12 months ago

after running python3 example/scripts/sample_data_loader.py

it sows the error: from databuilder.extractor.neo4j_extractor import Neo4jExtractor ModuleNotFoundError: No module named 'databuilder.extractor'

corinabioinformatic commented 5 months ago

Same issue I think:

Stored in directory: mydir/.cache/pip/wheels/ec/03/6f/d2e0162d94c0d451556fa43dd4d5531457245c34a36b41ef4a
  Building wheel for pandas (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pandas (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [2454 lines of output]
      <string>:19: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/pandas

It seems like there is a mistmatch between packages and dependencies. Should this be also added in the troubleshoot page? https://www.amundsen.io/amundsen/windows_troubleshooting/