You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
import of phoenix inside a dockerfile fails. Stacktrace:
File "/usr/src/app/./script.py", line 1, in <module>
import phoenix as px
File "/usr/local/lib/python3.11/site-packages/phoenix/__init__.py", line 12, in <module>
from .session.session import (
File "/usr/local/lib/python3.11/site-packages/phoenix/session/session.py", line 43, in <module>
from phoenix.server.app import create_app
File "/usr/local/lib/python3.11/site-packages/phoenix/server/app.py", line 74, in <module>
from phoenix.server.api.schema import schema
File "/usr/local/lib/python3.11/site-packages/phoenix/server/api/schema.py", line 16, in <module>
from phoenix.pointcloud.clustering import Hdbscan
File "/usr/local/lib/python3.11/site-packages/phoenix/pointcloud/clustering.py", line 6, in <module>
from hdbscan import HDBSCAN
File "/usr/local/lib/python3.11/site-packages/hdbscan/__init__.py", line 1, in <module>
from .hdbscan_ import HDBSCAN, hdbscan
File "/usr/local/lib/python3.11/site-packages/hdbscan/hdbscan_.py", line 20, in <module>
from ._hdbscan_linkage import (
File "hdbscan/_hdbscan_linkage.pyx", line 1, in init hdbscan._hdbscan_linkage
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
To Reproduce
Steps to reproduce the behavior:
Dockerfile:
FROM python:3.11.9-bookworm AS python-build
WORKDIR /usr/src/app
COPY ./requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r ./requirements.txt
CMD [ "python", "./script.py" ]
Describe the bug
import of phoenix inside a dockerfile fails. Stacktrace:
To Reproduce
Steps to reproduce the behavior:
requirements.txt:
script.py:
Expected behavior
Import inside Docker container should run without problems
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: