Skip to content

Error when importing embeddings_utils #511

@LinuxIsCool

Description

@LinuxIsCool

Describe the bug

image

ImportError: cannot import name 'ARRAY_FUNCTIONS' from 'numpy.core.overrides' (/home/ygg/.cache/pypoetry/virtualenvs/stakeholderstudy-shsA1FjX-py3.10/lib/python3.10/site-packages/numpy/core/overrides.py)
openai==0.27.8                                                                                                                             
numpy==1.25.0

To Reproduce

poetry add openai

from openai import embeddings_utils

Code snippets

No response

OS

Pop!_OS 22.04 LTS x86_64

Python version

Python 3.10.6

Library version

openai==0.27.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed in v1Issues addressed by the v1 beta

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions