pip(3)
-
[Linux]pip install -r requirement.txt 오류
[오류 내용]error: externally-managed-environment× This environment is externally managed╰─> To install Python packages system-wide, try brew install xyz, where xyz is the package you are trying to install. If you wish to install a non-brew-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin..
2024.08.21 -
[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