<?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 Qlik Python SSE in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Python-SSE/m-p/1661559#M14621</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to install Python SSE using the steps below -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step 4 is not giving me the results listed below - e.g., pandas, numpy, ...&lt;/P&gt;&lt;P&gt;My log file is empty -&lt;/P&gt;&lt;P&gt;but i do see -init-.py, clustering.py, prophet.py, sklearn.py, spacy.py, utils.py, etc.&lt;/P&gt;&lt;P&gt;Don't know what i am doing wrong or what to do next.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Installation&lt;/P&gt;&lt;P&gt;This installation requires Internet access. To install this SSE on a machine without Internet access refer to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nabeel-qlik/qlik-py-tools/raw/master/offline-install/" target="_blank" rel="noopener"&gt;offline installation guide&lt;/A&gt;.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Get Python from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.python.org/downloads/release/python-368/" target="_blank" rel="nofollow noopener"&gt;here&lt;/A&gt;. Make sure you get the 64 bit version. Remember to select the option to add Python to your PATH environment variable.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You'll also need a recent C++ compiler as this is a requirement for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pystan&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;library used by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fbprophet. One option is to use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017" target="_blank" rel="nofollow noopener"&gt;Microsoft Visual C++ Build Tools&lt;/A&gt;. If you are having trouble finding the correct installer try&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=BuildTools&amp;amp;rel=15" target="_blank" rel="nofollow noopener"&gt;this direct link&lt;/A&gt;. An alternative is to use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mingw-w64&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;compiler as described in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://pystan.readthedocs.io/en/latest/windows.html" target="_blank" rel="nofollow noopener"&gt;PyStan documentation&lt;/A&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you're using the Visual Studio installer, select the Visual C++ Build Tools workload in the installer and make sure you select the C++ compilers in the optional components:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Download the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nabeel-qlik/qlik-py-tools/releases" target="_blank" rel="noopener"&gt;latest release&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for this SSE and extract it to a location of your choice. The machine where you are placing this repository should have access to a local or remote Qlik Sense instance.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Right click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Qlik-Py-Init.bat&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and chose 'Run as Administrator'. You can open this file in a text editor to review the commands that will be executed. If everything goes smoothly you will see a Python virtual environment being set up, project files being copied, some packages being installed and TCP Port&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;50055&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;being opened for inbound communication.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Note that the script always ends with a "All done" message and does not check for errors.&lt;/LI&gt;&lt;LI&gt;If you need to change the port you can do so in the file&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;core\__main__.py&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;by opening the file with a text editor, changing the value of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;_DEFAULT_PORT&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;variable, and then saving the file. You will also need to update&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Qlik-Py-Init.bat&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to use the same port in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;netsh&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command. This command will only work if you run the batch file through an elevated command prompt (i.e. with administrator privileges).&lt;/LI&gt;&lt;LI&gt;Once the execution completes, do a quick scan of the log to see everything installed correctly. The libraries imported are:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;grpcio,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;grpcio-tools,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;numpy,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;scipy,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pandas,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;cython,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;joblib,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pystan,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fbprophet,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;scikit-learn,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;hdbscan,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;skater,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;spacy,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;efficient-apriori,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tensorflow,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;keras&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and their dependencies. Also, check that the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;core&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;generated&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;directories have been copied successfully to the newly created&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;qlik-py-env&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;directory.&lt;/LI&gt;&lt;LI&gt;If the initialization fails for any reason, you can simply delete the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;qlik-py-env&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;directory and re-run&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Qlik-Py-Init.bat.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Now whenever you want to start this Python service you can run&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Qlik-Py-Start.bat.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:42:15 GMT</pubDate>
    <dc:creator>peterkumar</dc:creator>
    <dc:date>2024-11-16T03:42:15Z</dc:date>
    <item>
      <title>Qlik Python SSE</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Python-SSE/m-p/1661559#M14621</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to install Python SSE using the steps below -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step 4 is not giving me the results listed below - e.g., pandas, numpy, ...&lt;/P&gt;&lt;P&gt;My log file is empty -&lt;/P&gt;&lt;P&gt;but i do see -init-.py, clustering.py, prophet.py, sklearn.py, spacy.py, utils.py, etc.&lt;/P&gt;&lt;P&gt;Don't know what i am doing wrong or what to do next.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Installation&lt;/P&gt;&lt;P&gt;This installation requires Internet access. To install this SSE on a machine without Internet access refer to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nabeel-qlik/qlik-py-tools/raw/master/offline-install/" target="_blank" rel="noopener"&gt;offline installation guide&lt;/A&gt;.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Get Python from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.python.org/downloads/release/python-368/" target="_blank" rel="nofollow noopener"&gt;here&lt;/A&gt;. Make sure you get the 64 bit version. Remember to select the option to add Python to your PATH environment variable.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You'll also need a recent C++ compiler as this is a requirement for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pystan&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;library used by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fbprophet. One option is to use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017" target="_blank" rel="nofollow noopener"&gt;Microsoft Visual C++ Build Tools&lt;/A&gt;. If you are having trouble finding the correct installer try&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=BuildTools&amp;amp;rel=15" target="_blank" rel="nofollow noopener"&gt;this direct link&lt;/A&gt;. An alternative is to use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mingw-w64&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;compiler as described in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://pystan.readthedocs.io/en/latest/windows.html" target="_blank" rel="nofollow noopener"&gt;PyStan documentation&lt;/A&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you're using the Visual Studio installer, select the Visual C++ Build Tools workload in the installer and make sure you select the C++ compilers in the optional components:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Download the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nabeel-qlik/qlik-py-tools/releases" target="_blank" rel="noopener"&gt;latest release&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for this SSE and extract it to a location of your choice. The machine where you are placing this repository should have access to a local or remote Qlik Sense instance.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Right click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Qlik-Py-Init.bat&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and chose 'Run as Administrator'. You can open this file in a text editor to review the commands that will be executed. If everything goes smoothly you will see a Python virtual environment being set up, project files being copied, some packages being installed and TCP Port&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;50055&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;being opened for inbound communication.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Note that the script always ends with a "All done" message and does not check for errors.&lt;/LI&gt;&lt;LI&gt;If you need to change the port you can do so in the file&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;core\__main__.py&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;by opening the file with a text editor, changing the value of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;_DEFAULT_PORT&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;variable, and then saving the file. You will also need to update&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Qlik-Py-Init.bat&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to use the same port in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;netsh&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command. This command will only work if you run the batch file through an elevated command prompt (i.e. with administrator privileges).&lt;/LI&gt;&lt;LI&gt;Once the execution completes, do a quick scan of the log to see everything installed correctly. The libraries imported are:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;grpcio,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;grpcio-tools,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;numpy,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;scipy,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pandas,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;cython,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;joblib,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pystan,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fbprophet,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;scikit-learn,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;hdbscan,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;skater,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;spacy,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;efficient-apriori,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tensorflow,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;keras&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and their dependencies. Also, check that the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;core&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;generated&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;directories have been copied successfully to the newly created&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;qlik-py-env&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;directory.&lt;/LI&gt;&lt;LI&gt;If the initialization fails for any reason, you can simply delete the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;qlik-py-env&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;directory and re-run&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Qlik-Py-Init.bat.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Now whenever you want to start this Python service you can run&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Qlik-Py-Start.bat.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Python-SSE/m-p/1661559#M14621</guid>
      <dc:creator>peterkumar</dc:creator>
      <dc:date>2024-11-16T03:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Python SSE</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Python-SSE/m-p/1661598#M14622</link>
      <description>&lt;P&gt;I tried it again and when i try to run Qlik-Py-Init.bat to create the python virtual environment, i get error messages&lt;/P&gt;&lt;P&gt;- python is not recognized as an internal or external command&lt;/P&gt;&lt;P&gt;then i get several messages&lt;/P&gt;&lt;P&gt;- pip is not recognized as an internal or external command&lt;/P&gt;&lt;P&gt;Please let me know if you have any suggestions.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 21:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Python-SSE/m-p/1661598#M14622</guid>
      <dc:creator>peterkumar</dc:creator>
      <dc:date>2019-12-30T21:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Python SSE</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Python-SSE/m-p/1661848#M14623</link>
      <description>&lt;P&gt;I think your PATH environment variable has not been setup correctly. In my experience it is often caused if python is installed without modifying the PATH environment variable or you have installed python using &lt;A href="https://www.anaconda.com/distribution/" target="_self"&gt;anaconda&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If you have not installed python using anaconda then try following this &lt;A href="https://www.pythoncentral.io/add-python-to-path-python-is-not-recognized-as-an-internal-or-external-command/" target="_self"&gt;guide&lt;/A&gt;, it might be the solution.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 12:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Python-SSE/m-p/1661848#M14623</guid>
      <dc:creator>jcbsorensen</dc:creator>
      <dc:date>2020-01-01T12:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Python SSE</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Python-SSE/m-p/1667123#M14624</link>
      <description>&lt;P&gt;Yes - you are correct!&lt;/P&gt;&lt;P&gt;I needed to re-install Python.&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 00:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Python-SSE/m-p/1667123#M14624</guid>
      <dc:creator>peterkumar</dc:creator>
      <dc:date>2020-01-20T00:47:36Z</dc:date>
    </item>
  </channel>
</rss>

