Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3590

Python 3.12 import error for weaviate

$
0
0

Description

I am running in a conda env python 3.12 on linux and installed weaviate via pip
NAME=“Red Hat Enterprise Linux”
VERSION=“8.10 (Ootpa)”

this worked fine on Windows but here I get
File “/home/fbernard/.conda/envs/llmao_m4py_DALE/lib/python3.12/site-packages/weaviate/init.py”, line 3, in
from . import classes
ImportError: cannot import name ‘classes’ from partially initialized module ‘weaviate’ (most likely due to a circular import)

This is a simple script using only the one file and this fails at the top of the script when it tries to import weaviate…

Server Setup Information

  • Weaviate Server Version:
  • Deployment Method:
  • Multi Node? Number of Running Nodes:
  • Client Language and Version:
  • Multitenancy?:

Any additional Information


Viewing all articles
Browse latest Browse all 3590

Trending Articles