amundsen icon indicating copy to clipboard operation
amundsen copied to clipboard

problem with setup.py

Open pranitM23pgai opened this issue 1 year ago • 3 comments

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(

pranitM23pgai avatar Aug 28 '23 03:08 pranitM23pgai

Thanks for opening your first issue here!

boring-cyborg[bot] avatar Aug 28 '23 03:08 boring-cyborg[bot]

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'

pranitM23pgai avatar Sep 01 '23 09:09 pranitM23pgai

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/

corinabioinformatic avatar Mar 26 '24 00:03 corinabioinformatic