amundsen
amundsen copied to clipboard
Python setup.py egg_info did not run successfully.
I'm trying to install Amundsen on docker running on Windows 10. I'm getting an error while run a docker-compose using atlas.
Expected Behavior
Install success
Current Behavior
Getting erro when execute: docker-compose -f docker-amundsen-atlas.yml up
Steps to Reproduce
- Clone the repo
- Execute: docker-compose -f docker-amundsen-atlas.yml up (get an error in this step)
-
Error: error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [10 lines of output] /bin/sh: 1: npm: not found ERROR:root:npm must be available /bin/sh: 1: npm: not found /app/setup.py:30: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead logging.warn('Installation of npm dependencies failed') WARNING:root:Installation of npm dependencies failed /app/setup.py:31: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead logging.warn(str(e)) WARNING:root:Command '['npm install']' returned non-zero exit status 127. error in amundsen-frontend setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers. [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. 1 error occurred: * Status: The command '/bin/sh -c pip3 install -e .' returned a non-zero code: 1, Code: 1
Screenshots (if appropriate)
Context
Your Environment
- Amunsen version used: 6.7.4
- Data warehouse stores: none yet
- Deployment (k8s or native): native
- Link to your fork or repository:
Thanks for opening your first issue here!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Same issue on new Windows install "python setup.py egg_info did not run successfully"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Hi @FelipeArruda. What image are you using for run python? I get the same issue usgin python:3.10.2-alpine, but not for python:3.10.2-slim.
3.10.2
Hi @mcavalcante28 its 3.10 python version.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
using Python 3.10.4 and getting this problem as well. Is there a fix?
having the same issue ? any fix ?
@feng-tao Can you help?
@FelipeArruda use a python version Lowe that 3.10 . I got it to work on 3.9
thanks mine got worked on 3.7
@micfun123 and @HridoyHazard, Did you try with Neo4j Backend or Atlas?
I'm trying to run Atlas and getting the same erro with python 3.6
no I just installed normal python package
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Try updating the setuptools package using pip install --upgrade setuptools
I'm also having this issue any help
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I'm trying to install Amundsen on docker running on Windows 10. I'm getting an error while run a docker-compose using atlas.
Expected Behavior
Install success
Current Behavior
Getting erro when execute: docker-compose -f docker-amundsen-atlas.yml up
Steps to Reproduce
- Clone the repo
- Execute: docker-compose -f docker-amundsen-atlas.yml up (get an error in this step)
- Error: error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [10 lines of output] /bin/sh: 1: npm: not found ERROR:root:npm must be available /bin/sh: 1: npm: not found /app/setup.py:30: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead logging.warn('Installation of npm dependencies failed') WARNING:root:Installation of npm dependencies failed /app/setup.py:31: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead logging.warn(str(e)) WARNING:root:Command '['npm install']' returned non-zero exit status 127. error in amundsen-frontend setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers. [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. 1 error occurred: * Status: The command '/bin/sh -c pip3 install -e .' returned a non-zero code: 1, Code: 1
Screenshots (if appropriate)
Context
Your Environment
- Amunsen version used: 6.7.4
- Data warehouse stores: none yet
- Deployment (k8s or native): native
- Link to your fork or repository:
try myway ,it work for me. https://blog.csdn.net/drunk_soul/article/details/126336272
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
upon deploying django on vercel server i was unable to use sqlite so i decided to use mysql but i got this error
Preparing metadata (setup.py): finished with status 'error'
15:12:04.162 | error: subprocess-exited-with-error
15:12:04.162 |
15:12:04.162 | × python setup.py egg_info did not run successfully.
15:12:04.163 | │ exit code: 1
15:12:04.163 | ╰─> [16 lines of output]
15:12:04.163 | /bin/sh: mysql_config: command not found
15:12:04.163 | /bin/sh: mariadb_config: command not found
15:12:04.163 | /bin/sh: mysql_config: command not found
15:12:04.164 | Traceback (most recent call last):
15:12:04.164 | File "
I also met the same problem on my Centos7 linux server, is there any solution available now? Thanks.
I have tried to solve this problem I mentioned above on linux using the following changed dockfile, I hope it can be helpful to you. I tried to install amundsen in China so part of the code is added to use a mirror source.
Changed Dockerfile.fronted.local
ARG METADATASERVICE_BASE ARG SEARCHSERVICE_BASE
FROM node:12-slim as node-stage WORKDIR /app/amundsen_application/static
COPY ./frontend/amundsen_application/static/package.json /app/amundsen_application/static/package.json COPY ./frontend/amundsen_application/static/package-lock.json /app/amundsen_application/static/package-lock.json RUN npm config set registry https://registry.npm.taobao.org #RUN npm install -g cnpm --registry http://mirrors.cloud.tencent.com/npm/ RUN npm install -g cnpm --registry https://registry.npm.taobao.org RUN npm install
COPY ./frontend/amundsen_application/static/ /app/amundsen_application/static/ RUN cnpm rebuild node-sass RUN cnpm run dev-build
COPY ./frontend /app
FROM python:3.7-slim WORKDIR /app
COPY ./frontend /app COPY requirements-dev.txt /app/requirements-dev.txt COPY requirements-common.txt /app/requirements-common.txt RUN pip3 install -r requirements-dev.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com RUN pip3 install -r requirements-common.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com RUN pip3 install --upgrade setuptools COPY --from=node-stage /app /app
RUN pip install --upgrade pip #RUN pip3 install -e .
COPY requirements-dev.txt /app/requirements-dev.txt COPY requirements-common.txt /app/requirements-common.txt
RUN python3 setup.py install
ENTRYPOINT [ "python3" ] CMD [ "amundsen_application/wsgi.py" ]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically closed for inactivity. If you still wish to make these changes, please open a new pull request or reopen this one.
是
Same issue with Python3.8
Downloading faiss-gpu-1.6.4.tar.gz (3.4 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] running egg_info creating C:\Users\szcze\AppData\Local\Temp\pip-pip-egg-info-ujcl0pjz\faiss_cpu.egg-info writing C:\Users\szcze\AppData\Local\Temp\pip-pip-egg-info-ujcl0pjz\faiss_cpu.egg-info\PKG-INFO writing dependency_links to C:\Users\szcze\AppData\Local\Temp\pip-pip-egg-info-ujcl0pjz\faiss_cpu.egg-info\dependency_links.txt writing top-level names to C:\Users\szcze\AppData\Local\Temp\pip-pip-egg-info-ujcl0pjz\faiss_cpu.egg-info\top_level.txt writing manifest file 'C:\Users\szcze\AppData\Local\Temp\pip-pip-egg-info-ujcl0pjz\faiss_cpu.egg-info\SOURCES.txt' error: package directory 'C:\Users\szcze\AppData\Local\Temp\pip-install-13u5zqbl\faiss-gpu_e01c6d75b86e4efabb69c05a927aabcc\faiss\faiss\python' does not exist [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. WARNING: Ignoring invalid distribution -rotobuf (c:\server\htdocs\ml2\env\lib\site-packages) WARNING: Ignoring invalid distribution -rotobuf (c:\server\htdocs\ml2\env\lib\site-packages) WARNING: Ignoring invalid distribution -rotobuf (c:\server\htdocs\ml2\env\lib\site-packages)
[notice] A new release of pip is available: 23.0.1 -> 23.1.2
on the same deployment problem