problem with setup.py
pranitM23pgai opened this issue · comments
Discussed in #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(
Thanks for opening your first issue here!
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'
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/