반응형

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

반응형

+ Recent posts