Python(32)
-
플레쉬어텐션라이브러리 관련- This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths (윈도우 경로 에러)
상황: CUDA13.0에 flash-attn 설치를 하기 위함아래와 같은 기분 나쁜 에러 발생ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\choiyounghyun\\AppData\\Local\\Temp\\pip-install-qtz4l71n\\flash-attn_4eab5a0292244f3f9988e015e1cab94f\\csrc\\composable_kernel\\client_example\\24_grouped_conv_activation\\grouped_convnd_fwd_scaleadd_scaleadd_relu\\grouped_conv_fwd_scaleadd_sc..
2026.01.14 -
Docling 기타 유틸
1. 프린트 for item, level in result.document.iterate_items(): # label 형식이 보통 대문자로 시작하거나 특정 상수(DocItemLabel)를 사용합니다. if item.label not in ["Table", "Picture"]: print(f"[{item.label}] {item.text if hasattr(item, 'text') else ''}") print() 2. 객체 구조 self_ref='#/texts/221' parent=RefItem(cref='#/body') children=[] content_l..
2026.01.12 -
Docling 재정렬 관련
https://github.com/docling-project/docling/issues/2825 Image recognition order issue · Issue #2825 · docling-project/doclingBug Thank you for developing such an excellent library. However, it appears that image and text recognition are performed from left to right (the left side is recognized first, followed by the righ...github.com [문제 상황]1. PDF를 Docling 라이브러리를 이용하여 Markdown으로 변경 후 LLM에 대입하고 있..
2025.12.31 -
[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