개발/Python

pip install lanarky==0.8.6 설치 오류

강서버 2025. 2. 6. 01:37
728x90
반응형

[ 오류 로그 ]

> pip install lanarky==0.8.6
ERROR: Ignored the following yanked versions: 0.7.11
ERROR: Could not find a version that satisfies the requirement lanarky==0.8.6 (from versions: 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.7.12, 0.7.13, 0.7.14, 0.7.15, 0.7.16, 0.7.17)
ERROR: No matching distribution found for lanarky==0.8.6

 

 

[ 해결 ]

lanarky 0.8.6 버전은 Python 버전 3.9, 3.10, 3.11을 지원하고 있다. ( 요구사항: Python <3.12, >=3.9 )

(https://pypi.org/project/lanarky/0.8.6/)

따라서 3.12 버전 사용하는 경우 3.11버전으로 변경한다.

 

* venv를 사용하는 경우

1. Python 3.11 버전을 다운로드 받아 설치한다. ( 예, 설치 경로 : C:\devel\Python\Python311 )

 

2. venv 폴더의 pyvenv.cfg 파일을 3.12로 설정된 부분을 3.11에 맞게 변경한다.

 

[ 변경 전 ] Python 버전 : 3.12.8

home = C:\devel\Python\Python312
include-system-site-packages = false
version = 3.12.8
executable = C:\devel\Python\Python312\python.exe
command = C:\devel\Python\Python312\python.exe -m venv C:\devel\langchain\langchain_llm\.venv

 

[ 변경 후 ] Python 버전 : 3.11.9

home = C:\devel\Python\Python311
include-system-site-packages = false
version = 3.11.9
executable = C:\devel\Python\Python311\python.exe
command = C:\devel\Python\Python311\python.exe -m venv C:\devel\langchain\langchain_llm\.venv

 

 

728x90
반응형