cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New to using JMP? Hit the ground running with the Early User Edition of Discovery Summit. Register now, free of charge.
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
Choose Language Hide Translation Bar
JMP 18 버전의 Embedded Python 사용 시, pip package install SSL 인증서 Error(error: [SSL: CERTIFICATE_VERIFY_FAILED]) 해결 방법

새롭게 출시된(2024. 3월) JMP® 18에서는 Python 3.11.5 버전이 함께 탑재되어 설치됩니다.

 

JMP 18 버전과 Python의 새로운 통합 기능에 대해선 아래 링크에 상세히 설명되어 있습니다.

 

JMP is Pythonic! Enhanced Python Integration in JMP 18

Getting started with Python integration in JMP® 18

 

다만, JMP에 내장된 Python의 pip install을 사용하는 데 있어, 사내 보안 등의 이슈로 아래와 같은 Error가 발생하는 경우가 있습니다.

 

error: [SSL: CERTIFICATE_VERIFY_FAILED]

 

※ 아래 예제는 Python Script window(아래 그림 참조)를 이용하였음을 사전 안내드립니다.

 

DaeYun_Kim_0-1723781468798.png

 

이미 Python User라고 해도(이미 PC에 Python이 설치되어 있다고 해도), JMP 18버전의 Python은 JMP 내부에 새롭게 설치되기 때문에 Python package들을 사용하기 위해선 아래 두가지 방법(jmp.run_jsl 혹은 jmputils.jpip)을 이용할 수 있습니다.

※ 아래 script는 pandas package 설치 사례입니다.

 

 

import jmp
import jmputils

jmp.run_jsl('''
Python Install Packages("pandas")
''')

jmputils.jpip('install', 'pandas')

 

위 script를 실행하여 python package를 설치하는 데 있어 SSL Certificate Error가 발생하는 경우, 일반적으로 많이 쓰이는 해결방법은 아래와 같습니다.

 

pip package install SSL 인증서 Error 해결 (error: [SSL: CERTIFICATE_VERIFY_FAILED])

 

다만, JMP에서 위 해결방법을 활용하기 위해선 아래 script 처럼, 약간의 수정이 필요합니다.

 

 

import jmp
import jmputils

jmputils.jpip('install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org', 'pandas')

 

SSL Certificate Error 인 경우, 위와 같이 시도해 보시기 바랍니다.

 

 
 
 
 
Last Modified: Aug 16, 2024 12:26 AM