cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JMP Knowledge Base

Choose Language Hide Translation Bar
ModuleNotFoundError: No module named '_socket' error when installing Python Packages

Issue Description

The error occurs when installing some Python packages (modules) within JMP 18's Python environment. This is caused by the folder structure of JMP's Python environment.

Resolution

To resolve this error:

  1. Create a DLLs subdirectory under the parent folder where the JMP.exe lives. This will be either: C:\Program Files\JMP\JMPPRO\18 or C:\Program Files\JMP\JMP\18.
  2. Copy all the .pyd files from the root of the JMP 18 directory to the DLLs created in step 1.
  3. Copy the following .dll files into the DLLs subdirectory:
    • libcrypto-3.dll
    • libffi-9.dll
    • libssl-3.dll
    • sqlite3.dll 
  4. Restart JMP 18.
  5. Install the package again. 
Details
Operating System
Windows
Reported Version
18.0
Products JMP JMP Pro

Recommended Articles