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 am really new in this area. I just download your code and try to run it in the anaconda environment using PyCharm. But I met below error. I have installed all the packages mentioned in the requirements.txt. Could you please comment what happened here? Thanks.
Traceback (most recent call last):
File "C:\Users\PycharmProjects\rag_tutorial\create_database.py", line 1, in
from langchain.document_loaders import DirectoryLoader
File "C:\Users\AppData\Local\anaconda3\envs\pytorch\lib\site-packages\langchain_init_.py", line 8, in
from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
File "C:\Users\AppData\Local\anaconda3\envs\pytorch\lib\site-packages\langchain\agents_init_.py", line 2, in
from langchain.agents.agent import Agent
File "C:\Users\AppData\Local\anaconda3\envs\pytorch\lib\site-packages\langchain\agents\agent.py", line 2
from future import annotations
^
SyntaxError: future feature annotations is not defined
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
I am really new in this area. I just download your code and try to run it in the anaconda environment using PyCharm. But I met below error. I have installed all the packages mentioned in the requirements.txt. Could you please comment what happened here? Thanks.
Traceback (most recent call last):
File "C:\Users\PycharmProjects\rag_tutorial\create_database.py", line 1, in
from langchain.document_loaders import DirectoryLoader
File "C:\Users\AppData\Local\anaconda3\envs\pytorch\lib\site-packages\langchain_init_.py", line 8, in
from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
File "C:\Users\AppData\Local\anaconda3\envs\pytorch\lib\site-packages\langchain\agents_init_.py", line 2, in
from langchain.agents.agent import Agent
File "C:\Users\AppData\Local\anaconda3\envs\pytorch\lib\site-packages\langchain\agents\agent.py", line 2
from future import annotations
^
SyntaxError: future feature annotations is not defined
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: