LangChain(2)
-
[Langchain] pip install langchain-teddynote 에러
라이브러리 langchain-teddynote를 설치하려고 아래의 명령어를 터미널에서 실행했다.pip install langchain-teddynote 결과는 실패라이브러리를 찾을수 없다였다 [해결책]colab에서 실행해봤다 -> 정상 원인 1번 OS 환경2번 파이썬 버전 원인 : langchain-teddynote의 setup.py를 보니 .... 3.10 이상부터 가능했다. 결론: 가상환경으로 3.10이상으로 사용함.
2024.08.14 -
[Langchain] AttributeError: 'Collection' object has no attribute 'model_fields' 에러
[상황]Langchain 입문부터 응용까지 책을 보면서 실행하던 중 에러 발생 AttributeError: 'Collection' object has no attribute 'model_fields' pip install chormadb에 관련된 것중 이상이 있나보다.... [해결책] 한 단계 아래 버전을 설치하면 가능하다. pip uninstall chormadbpip install chormadb==0.5.3
2024.08.14