jpype 설치 에러
pip install jpype 설치 시 아래와 같은 오류가 발생할 수 있습니다.
Collecting jpype
Downloading jpype-0.0.tar.gz (541 bytes)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
=========================================
Please install the `JPype` with ``pip install jpype1``
=========================================
[end of output]
이 경우에 아래처럼 설치해보세요.
pip install jpype1
Collecting jpype1
Downloading JPype1-1.4.1-cp39-cp39-win_amd64.whl (345 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 345.2/345.2 kB 10.5 MB/s eta 0:00:00
Requirement already satisfied: packaging in c:\users\sangmun\appdata\local\programs\python\python39\lib\site-packages (from jpype1) (23.1)
Installing collected packages: jpype1
Successfully installed jpype1-1.4.1
'Python 활용' 카테고리의 다른 글
Python + Cython 두 번째 글 (1) | 2023.10.13 |
---|---|
파이썬에서 자바 패키지 및 사용자 자바 기능 호출 (0) | 2023.10.05 |
Python, matplotlib 한글 깨짐 (Windows) (0) | 2023.09.26 |
Python + Cython 첫 번째 (0) | 2023.09.06 |
파이썬 실행파일 (EXE) 만들기, 배포, 변환 (0) | 2023.08.05 |