Skip to content

NumPy was built with baseline optimizations: (X86_V2) but your machine doesn't support: (X86_V2) #30348

Description

@comaaxl

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

v1.11.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I deployed Dify on a Linux system running CentOS 8, and encountered the following error when installing the "Markdown Converter" plugin:

failed to launch plugin: plugin failed to start: d09180e2cc053090adc9886019483f502727467f136712b8b9639/.venv/lib/python3.12/site-packages/numpy/init.py", line 112, in from numpy.config import show_config File "/app/storage/cwd/bowenliang123/md_exporter-2.2.0@9f39c2c2c1cd09180e2cc053090adc9886019483f502727467f136712b8b9639/.venv/lib/python3.12/site-packages/numpy/config.py", line 4, in from numpy._core._multiarray_umath import ( File "/app/storage/cwd/bowenliang123/m...86019483f502727467f136712b8b9639/.venv/lib/python3.12/site-packages/numpy/_core/init.py", line 22, in from . import multiarray File "/app/storage/cwd/bowenliang123/md_exporter-2.2.0@9f39c2c2c1cd09180e2cc053090adc9886019483f502727467f136712b8b9639/.venv/lib/python3.12/site-packages/numpy/_core/multiarray.py", line 11, in from . import _multiarray_umath, overrides RuntimeError: NumPy was built with baseline optimizations: (X86_V2) but your machine doesn't support: (X86_V2).

Image

I tried running the command "docker exec -it docker-plugin_daemon-1 bash" to enter the .venv directory inside the docker-plugin_daemon container, then manually executed "pip install --force-reinstall --no-cache-dir numpy" to install NumPy. However, the same error persisted after restarting the docker-plugin_daemon container. How can this issue be resolved?

✔️ Expected Behavior

none

❌ Actual Behavior

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions