-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Building the following Dockerfile with docker build .
:
FROM python:3.8
RUN pip install git+https://github.com/openai/openai-python
RUN python -c 'from openai.api_resources.embedding import Embedding'
gives:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.8/site-packages/openai/__init__.py", line 19, in <module>
from openai.api_resources import (
File "/usr/local/lib/python3.8/site-packages/openai/api_resources/__init__.py", line 7, in <module>
from openai.api_resources.embedding import Embedding # noqa: F401
File "/usr/local/lib/python3.8/site-packages/openai/api_resources/embedding.py", line 6, in <module>
from openai.datalib.numpy_helper import assert_has_numpy
ModuleNotFoundError: No module named 'openai.datalib'
To Reproduce
See above
Code snippets
See above
OS
Linux
Python version
3.8
Library version
main
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working