cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar
View Original Published Thread

How to resolve pip package install SSL certificate Error (error: [SSL: CERTIFICATE_VERIFY_FAILED]) when using Embedded Python in JMP 18 version

The newly released (March 2024) JMP® 18 comes pre-installed with Python 3.11.5.

The new integration features in JMP 18 with Python are detailed in the link below.

JMP is Pythonic! Enhanced Python Integration in JMP 18

Getting started with Python integration in JMP® 18

However, when using Python's pip install built into JMP, the following error may occur due to internal security issues.

error: [SSL: CERTIFICATE_VERIFY_FAILED]

※ Please note in advance that the example below uses the Python Script window (see the image below).

undefined

Even if you are already a Python user (even if Python is already installed on your PC), Python in JMP 18 is newly installed within JMP, so you can use the two methods below ( jmp.run_jsl or jmputils.jpip ) to use Python packages.

※ The script below is an example of installing the pandas package.

import jmp
import jmputils

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

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

If you encounter an SSL Certificate Error when installing a python package by running the above script, some common solutions are as follows:

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

However, to utilize the above solution in JMP, some modifications are required, as in the script below.

import jmp
import jmputils

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

If it is an SSL Certificate Error, please try the above.

This post originally written in Korean and has been translated for your convenience. When you reply, it will also be translated back to Korean.