<?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 XMC and Python - Install additional modules in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-and-python-install-additional-modules/m-p/35053#M3960</link>
    <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
what is the best way to install additional python modules on XMC?&lt;BR /&gt;
As I see easy_install is present on the XMC but no PIP.&lt;BR /&gt;
&lt;BR /&gt;
Do new installed modules survive an XMC update?&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Jul 2018 15:17:00 GMT</pubDate>
    <dc:creator>StephanH</dc:creator>
    <dc:date>2018-07-10T15:17:00Z</dc:date>
    <item>
      <title>XMC and Python - Install additional modules</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-and-python-install-additional-modules/m-p/35053#M3960</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
what is the best way to install additional python modules on XMC?&lt;BR /&gt;
As I see easy_install is present on the XMC but no PIP.&lt;BR /&gt;
&lt;BR /&gt;
Do new installed modules survive an XMC update?&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jul 2018 15:17:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-and-python-install-additional-modules/m-p/35053#M3960</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-07-10T15:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: XMC and Python - Install additional modules</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-and-python-install-additional-modules/m-p/35054#M3961</link>
      <description>Hi Stephan,&lt;BR /&gt;
I think you can try: &lt;BR /&gt;
&lt;BR /&gt;
#&lt;B&gt;@METADATASTART&lt;/B&gt;&lt;BR /&gt;
#@DetailDescriptionStart&lt;BR /&gt;
################################################################&lt;BR /&gt;
# System Script&lt;BR /&gt;
#&lt;BR /&gt;
# Script        : Using pip.&lt;BR /&gt;
# Revision      : 1.0&lt;BR /&gt;
# Last updated  : 7/17/2018&lt;BR /&gt;
# Purpose       : To know using pip at XMC.&lt;BR /&gt;
#&lt;BR /&gt;
################################################################&lt;BR /&gt;
#@DetailDescriptionEnd&lt;BR /&gt;
#&lt;B&gt;@ScriptDescription&lt;/B&gt; "Using pip"&lt;BR /&gt;
#&lt;B&gt;@SectionStart&lt;/B&gt; ( description = "pip install some")&lt;BR /&gt;
#&lt;B&gt;@SectionEnd&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@MetaDataEnd&lt;/B&gt;&lt;BR /&gt;
import sys&lt;BR /&gt;
sys.path.append('/usr/local/Extreme_Networks/NetSight/appdata/scripting')&lt;BR /&gt;
import os&lt;BR /&gt;
import pip&lt;BR /&gt;
import inspect&lt;BR /&gt;
from xmclib import emc_vars&lt;BR /&gt;
from xmclib import logger&lt;BR /&gt;
&lt;BR /&gt;
print("Running Python version is: %s" % sys.version)&lt;BR /&gt;
print("Running Python PATH is: %s" % sys.executable)&lt;BR /&gt;
print("Running module os is: %s" % inspect.getfile(os))&lt;BR /&gt;
print("---Start pip install a")&lt;BR /&gt;
pip.main(['install', 'a'])&lt;BR /&gt;
print("Running module a is: %s" % inspect.getfile(a))&lt;BR /&gt;
&lt;BR /&gt;
There would be two way, install package from XMC and from shell of running XMC.I believe from XMC is safer. But no guarantee, possible name space conflict etc.&lt;BR /&gt;
Also from shell would break system ( running XMC environment) Python environment.</description>
      <pubDate>Tue, 17 Jul 2018 07:20:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-and-python-install-additional-modules/m-p/35054#M3961</guid>
      <dc:creator>tknv</dc:creator>
      <dc:date>2018-07-17T07:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: XMC and Python - Install additional modules</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-and-python-install-additional-modules/m-p/35055#M3962</link>
      <description>Hello tknv,&lt;BR /&gt;
&lt;BR /&gt;
works fine.&lt;BR /&gt;
&lt;BR /&gt;
thank you very much.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan</description>
      <pubDate>Fri, 27 Jul 2018 08:54:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-and-python-install-additional-modules/m-p/35055#M3962</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-07-27T08:54:00Z</dc:date>
    </item>
  </channel>
</rss>

