cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Have your say in shaping JMP's future by participating in the new JMP Wish List Prioritization Survey
Choose Language Hide Translation Bar
MarcP
Level III

JSL error python dll not found

When I run the following script:

Names Default To Here( 1 );
Python Init(
	Path( "C:\Anaconda3\envs\PythonR\python37.dll" )
);

I get an error: "An installation of Python cannot be found on this system. JMP Python support requires Python version 3.0 or higher, in access or evaluation of 'Python init', Python Init/*###*/(Path("C:\Anaconda3\envs\PythonR\python37.dll"))

 

The python37.dll location is: C:\Anaconda3\envs\PythonR

Using python and R via anaconda is a requirement, so the alternative to do a python standalone install is not an option.

 

How to fix this? 

6 REPLIES 6

Re: JSL error python dll not found

Hello MarcP,

 

I did not know what is your JMP release but on 15.2, Anaconda was not really supported.

I advise you to read this help

 

https://www.jmp.com/support/help/zh/15.2/index.shtml#page/jmp/troubleshooting-the-jmp-python-integra...

or 

https://www.jmp.com/support/help/zh/16.2/index.shtml#page/jmp/troubleshooting-the-jmp-python-integra...

 

Guillaume
MarcP
Level III

Re: JSL error python dll not found

Hello Guillaume,

I'm using JMP 16.0. 

I tried all of the possibilities in your links, but unfortunately I keep getting the same error message

Re: JSL error python dll not found

16.0? Maybe update to 16.2 (some python improvement seems have been done regarding the last release note).

Anaconda integration seems to be difficult.

 

I find these article on the Community

https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/346064

https://community.jmp.com/t5/Discussions/Integrating-JMP-with-Anaconda-Python-and-Tensorflow/m-p/414...

 

 

Guillaume
txnelson
Super User

Re: JSL error python dll not found

I struggled with Anaconda Python and could never get it to work.  I deleted it and then downloaded Python from

Download Python | Python.org

and the connection to JMP worked without an issue.

Jim
MarcP
Level III

Re: JSL error python dll not found

Hi Jim,


Thanks for your reply. Unfortunately I can only use python via Anaconda. 

 

Marc

Re: JSL error python dll not found

Update to 16.2.  Anaconda wants to be the one in control of the environment, not loaded as a shared library in another program as they do non-standard startup processing and non-standard paths to load the shared libraries.  Lastly JMP does not support virtual environments very well and that is a big premise of the Anaconda environment.  JMP 16.2 has better support on Windows, since JMP attempts to modify the LoadLibrary Path at runtime.  However to have any hope of success you must use the optional parameters to the Python Init().  You must include the sys.path to your environment as a JSL list, and you must include the path to the correct python3x.dll.  See JMP's scripting index for more information on the Python Init() and Python Connect() functions and optional parameters. 

 

Anaconda Python while great collection when running under Anaconda's control, it doesn't play nice with others.