<?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: How can the following python library installation commands be implemented in python in a JMP environment? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809548#M99032</link>
    <description>&lt;P&gt;Have you tried dropping the --upgrade? Or moving it before -i (though I think it might be able to figure it out).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1730725431607.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69774i22B0CC732B666AC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1730725431607.png" alt="jthi_0-1730725431607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1730725517478.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69775i68FD2A2E60ECFDFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1730725517478.png" alt="jthi_1-1730725517478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pip.pypa.io/en/stable/cli/pip_install/" target="_blank"&gt;pip install - pip documentation v24.3.1&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2024 13:06:35 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-11-04T13:06:35Z</dc:date>
    <item>
      <title>How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809537#M99025</link>
      <description>&lt;P&gt;Thanks Experts!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;pip install selenium-wire -i https://pypi.tuna.tsinghua.edu.cn/simple

pip install blinker==1.7.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

pip uninstall h11
pip install h11 -i https://pypi.tuna.tsinghua.edu.cn/simple&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Nov 2024 10:21:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809537#M99025</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-11-04T10:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809538#M99026</link>
      <description>&lt;P&gt;？？&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Python Init();

Python Submit(
"
import subprocess
try:
    subprocess.check_call(['pip', 'install', 'selenium-wire', '-i', 'https://pypi.tuna.tsinghua.edu.cn/simple'])
    result = 'selenium-wire 安装成功。'
except Exception as e:
    result = f'安装失败：{e}'
"
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Nov 2024 10:22:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809538#M99026</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-11-04T10:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809540#M99027</link>
      <description>&lt;P&gt;Have you tried if jmputils's jpip is able to do those?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1730717279185.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69772iC899CCAF05AA66A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1730717279185.png" alt="jthi_0-1730717279185.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 10:49:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809540#M99027</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-04T10:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809541#M99028</link>
      <description>&lt;P&gt;I know that.&lt;BR /&gt;It can't just do that&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;import jmputils
jmputils.jpip('install', 'selenium-wire')&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Nov 2024 11:22:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809541#M99028</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-11-04T11:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809542#M99029</link>
      <description>&lt;P&gt;Have you tried with the extra commands? The first argument in jpip should allow you to use something like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;'install -i https://pypi.tuna.tsinghua.edu.cn/simple'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;inside it (scripting index has example of using install --upgrade)&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 12:16:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809542#M99029</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-04T12:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809545#M99031</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;A target="_blank"&gt;too&lt;/A&gt; &lt;A target="_blank"&gt;difficult&lt;/A&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-11-04_20-54-49.png" style="width: 970px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69773i012F4B56863D050F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-11-04_20-54-49.png" alt="2024-11-04_20-54-49.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 12:59:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809545#M99031</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-11-04T12:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809548#M99032</link>
      <description>&lt;P&gt;Have you tried dropping the --upgrade? Or moving it before -i (though I think it might be able to figure it out).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1730725431607.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69774i22B0CC732B666AC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1730725431607.png" alt="jthi_0-1730725431607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1730725517478.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69775i68FD2A2E60ECFDFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1730725517478.png" alt="jthi_1-1730725517478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pip.pypa.io/en/stable/cli/pip_install/" target="_blank"&gt;pip install - pip documentation v24.3.1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 13:06:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809548#M99032</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-04T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809839#M99130</link>
      <description>&lt;P&gt;A couple comments about the code above.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Python Init();&lt;/FONT&gt; is unnecessary in JMP 18 and beyond. &amp;nbsp;Python is live with the first JSL Python statement run or the first script run from a Python script editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second, for a multi-line string passed to Python Submit you can't just quote the string. &amp;nbsp;In JSL there are special characters that flag a string to be represented as a whole.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Python Submit ( &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;"\[&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;import blah&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;# my python code here&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;]\");&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just search for Python Submit in JMP's Scripting Index to see an example. &amp;nbsp;( Under Help menu. &amp;nbsp;Help -&amp;gt; Scripting Index )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 21:10:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809839#M99130</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2024-11-06T21:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809855#M99137</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Python Install Packages( "selenium-wire" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Nov 2024 08:37:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809855#M99137</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-11-07T08:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can the following python library installation commands be implemented in python in a JMP environment?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809858#M99138</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;OK&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-11-07_16-55-47.png" style="width: 464px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69922i9236A395BF0793FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-11-07_16-55-47.png" alt="2024-11-07_16-55-47.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 08:59:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-the-following-python-library-installation-commands-be/m-p/809858#M99138</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-11-07T08:59:06Z</dc:date>
    </item>
  </channel>
</rss>

