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
I just installed using pip install faststream-gen under python3.12 environement.
faststream_gen --help crash see bellow:
faststream_gen --help
/home/bill/virtual/stream/lib/python3.12/site-packages/langchain/embeddings/init.py:29: LangChainDeprecationWarning: Importing embeddings from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.embeddings import OpenAIEmbeddings.
To install langchain-community run pip install -U langchain-community.
warnings.warn(
/home/bill/virtual/stream/lib/python3.12/site-packages/langchain/vectorstores/init.py:35: LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.vectorstores import FAISS.
To install langchain-community run pip install -U langchain-community.
warnings.warn(
Traceback (most recent call last):
File "/home/bill/virtual/stream/bin/faststream_gen", line 5, in
from faststream_gen.cli import app
File "/home/bill/virtual/stream/lib/python3.12/site-packages/faststream_gen/cli.py", line 14, in
from faststream_gen._code_generator.app_description_validator import (
File "/home/bill/virtual/stream/lib/python3.12/site-packages/faststream_gen/_code_generator/app_description_validator.py", line 13, in
from .chat import CustomAIChat
File "/home/bill/virtual/stream/lib/python3.12/site-packages/faststream_gen/_code_generator/chat.py", line 48, in
openai.error.RateLimitError,
^^^^^^^^^^^^
AttributeError: module 'openai' has no attribute 'error'
I install pip install -U langchain-community too.
The text was updated successfully, but these errors were encountered:
I just installed using pip install faststream-gen under python3.12 environement.
faststream_gen --help crash see bellow:
faststream_gen --help
/home/bill/virtual/stream/lib/python3.12/site-packages/langchain/embeddings/init.py:29: LangChainDeprecationWarning: Importing embeddings from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.embeddings import OpenAIEmbeddings
.To install langchain-community run
pip install -U langchain-community
.warnings.warn(
/home/bill/virtual/stream/lib/python3.12/site-packages/langchain/vectorstores/init.py:35: LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.vectorstores import FAISS
.To install langchain-community run
pip install -U langchain-community
.warnings.warn(
Traceback (most recent call last):
File "/home/bill/virtual/stream/bin/faststream_gen", line 5, in
from faststream_gen.cli import app
File "/home/bill/virtual/stream/lib/python3.12/site-packages/faststream_gen/cli.py", line 14, in
from faststream_gen._code_generator.app_description_validator import (
File "/home/bill/virtual/stream/lib/python3.12/site-packages/faststream_gen/_code_generator/app_description_validator.py", line 13, in
from .chat import CustomAIChat
File "/home/bill/virtual/stream/lib/python3.12/site-packages/faststream_gen/_code_generator/chat.py", line 48, in
openai.error.RateLimitError,
^^^^^^^^^^^^
AttributeError: module 'openai' has no attribute 'error'
I install pip install -U langchain-community too.
The text was updated successfully, but these errors were encountered: