<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Configuring JMP to run Python code in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/449240#M69596</link>
    <description>&lt;P&gt;Anaconda does not play well with others. &amp;nbsp;It is designed to be THE Python environment. &amp;nbsp;It issue with the crash is the when JMP tries to load the Python36.dll, the Python dll itself tries to load other necessary dlls. &amp;nbsp;With the Anaconda environment it has those dlls in a place not in the standard dll search paths.&amp;nbsp;The Python dll itself is crashing because it can't find its necessary dlls, which in turn causes JMP to terminate ungracefully. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Generally the only way to get Anaconda to work has been to install it System Wide for all users and make sure it is added to the PATH. &amp;nbsp;Which is exactly what the Anaconda installer cautions against doing. The latest JMP 16, has additional support, as JMP tries to dynamically add Anaconda &amp;nbsp;to the LoadLibrary Search path. &amp;nbsp;And you will have to use the Python Init() optional parameters to have any success with Anaconda. &amp;nbsp;It's a far more successful route to use Python from Python.org, and make sure you install then additional necessary packages with pip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pip install numpy pandas matplotlib&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on your version of JMP you may also need scipy and Qt5 packages.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jan 2022 18:12:34 GMT</pubDate>
    <dc:creator>Paul_Nelson</dc:creator>
    <dc:date>2022-01-05T18:12:34Z</dc:date>
    <item>
      <title>Configuring JMP to run Python code</title>
      <link>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/346064#M59682</link>
      <description>&lt;P&gt;I'm using JMP 15.2.0 version on Windows Server 2012 and have Python 3.7.3 installed (without Anaconda) with below paths in Python sys.path.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;['', 'C:\\Python37-32\\python37.zip', 'C:\\Python37-32\\DLLs', 'C:\\Python37-32\\lib', 'C:\\Python37-32', 'C:\\Python37-32\\lib\\site-packages']&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;However I get errors when trying to run examples from the scripting index. For the Python Init example,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Python Init(Use Python Version("3.7"), Python sys path("C:\Python37-32\python.exe"));
Python Submit( "\[
str = 'The quick brown fox jumps over the lazy dog';
]\" );
getStr = Python Get( str );
Show( getStr );
Python Term();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;I get below errors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;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/*###*/(Use Python Version( "3.7" ),&lt;BR /&gt;Python sys path( "C:\Python37-32\python.exe" ))&lt;/P&gt;&lt;P&gt;at line 2 in Scripting Index&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;Can someone point me what I'm missing?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:02:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/346064#M59682</guid>
      <dc:creator>ravi_sasjmp</dc:creator>
      <dc:date>2023-06-09T22:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JMP to run Python code</title>
      <link>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/346151#M59685</link>
      <description>&lt;P&gt;These two links might provide some help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/install-python.shtml#" target="_blank" rel="noopener"&gt;https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/install-python.shtml#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/troubleshooting-the-jmp-python-integration.shtml#" target="_blank" rel="noopener"&gt;https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/troubleshooting-the-jmp-python-integration.shtml#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Especially the latter. Try to add &lt;EM&gt;Init Trace( "TRUE" )&lt;/EM&gt; to Python init(), it might give some additional information for you if JMP is looking for python in wrong location.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 20:05:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/346151#M59685</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-01-06T20:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JMP to run Python code</title>
      <link>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/346619#M59742</link>
      <description>&lt;P&gt;Try just pointing to the Python library file.&amp;nbsp; This has worked for me in the past.&amp;nbsp; Something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Python Init( Path( "C:\Python37-32\DLLs\python.dll" ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or wherever your .dll file is located.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 17:03:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/346619#M59742</guid>
      <dc:creator>mmarchand</dc:creator>
      <dc:date>2021-01-08T17:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JMP to run Python code</title>
      <link>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/346920#M59777</link>
      <description>&lt;P&gt;Thanks Jarmo!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adding&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Init Trace( "TRUE" )&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to Python init() is a very resourceful command for debug.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I was using 32-bit Python while&amp;nbsp;&lt;SPAN&gt;JMP 15 is a 64-bit program and supports only 64-bit Python. Changing to 64-bit Python fixed my issues&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below link has details on Python installation requirements&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/install-python.shtml#" target="_blank"&gt;https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/install-python.shtml#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2021 00:07:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/346920#M59777</guid>
      <dc:creator>ravi_sasjmp</dc:creator>
      <dc:date>2021-01-10T00:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JMP to run Python code</title>
      <link>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/378441#M62820</link>
      <description>&lt;P&gt;I have a similar problem in Windows10 JMP15.2.0.&lt;/P&gt;&lt;P&gt;My python is 3.6.13 (Anaconda). I have also 2.7 installed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In jmp, when I specify the Path in the Python Init(Path("correct path to python36.dll")) I get a hard crash. No trace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions are much appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 17:33:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/378441#M62820</guid>
      <dc:creator>ragnarl</dc:creator>
      <dc:date>2021-04-20T17:33:21Z</dc:date>
    </item>
    <item>
      <title>e: Configuring JMP to run Python code</title>
      <link>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/378662#M62842</link>
      <description>&lt;P&gt;The JMP 15 system requirements page says Python 3.6.5 or higher is recommended, so I'd try updating Python first.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 12:46:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/378662#M62842</guid>
      <dc:creator>mmarchand</dc:creator>
      <dc:date>2021-04-21T12:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JMP to run Python code</title>
      <link>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/378669#M62844</link>
      <description>The only way that I was able to get Python to work, was to remove Anaconda, and to go directly to the Python site and download their version.  JMP folks pointed me in that direction, indicating that Anaconda version of Python has problems with a a significant number of JMP users.</description>
      <pubDate>Wed, 21 Apr 2021 13:18:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/378669#M62844</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-21T13:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JMP to run Python code</title>
      <link>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/449240#M69596</link>
      <description>&lt;P&gt;Anaconda does not play well with others. &amp;nbsp;It is designed to be THE Python environment. &amp;nbsp;It issue with the crash is the when JMP tries to load the Python36.dll, the Python dll itself tries to load other necessary dlls. &amp;nbsp;With the Anaconda environment it has those dlls in a place not in the standard dll search paths.&amp;nbsp;The Python dll itself is crashing because it can't find its necessary dlls, which in turn causes JMP to terminate ungracefully. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Generally the only way to get Anaconda to work has been to install it System Wide for all users and make sure it is added to the PATH. &amp;nbsp;Which is exactly what the Anaconda installer cautions against doing. The latest JMP 16, has additional support, as JMP tries to dynamically add Anaconda &amp;nbsp;to the LoadLibrary Search path. &amp;nbsp;And you will have to use the Python Init() optional parameters to have any success with Anaconda. &amp;nbsp;It's a far more successful route to use Python from Python.org, and make sure you install then additional necessary packages with pip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pip install numpy pandas matplotlib&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on your version of JMP you may also need scipy and Qt5 packages.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 18:12:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Configuring-JMP-to-run-Python-code/m-p/449240#M69596</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2022-01-05T18:12:34Z</dc:date>
    </item>
  </channel>
</rss>

