<?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: Installing Python Package on server in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Installing-Python-Package-on-server/m-p/741305#M8609</link>
    <description>&lt;P&gt;Do you have the RunAs user set for your server?&lt;/P&gt;</description>
    <pubDate>Wed, 31 Mar 2021 11:46:29 GMT</pubDate>
    <dc:creator>patrick_mcauliffe</dc:creator>
    <dc:date>2021-03-31T11:46:29Z</dc:date>
    <item>
      <title>Installing Python Package on server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Installing-Python-Package-on-server/m-p/741058#M8605</link>
      <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to install a python package on our alteryx server using the below method:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;installing python packages into Alteryx from command line&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;open command line as administrator&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1) cd "C:\Program Files\Alteryx\bin\Miniconda3\Scripts"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2) activate JupyterTool_venv &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3) cd "C:\Program Files\Alteryx\bin\Miniconda3\envs\JupyterTool_vEnv\Scripts" &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;4) pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org &amp;lt;package_name&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don’t get any errors when the command prompt runs, but when I try to run a workflow with the installed package on the server I am getting the below error….is there something else I need to do to properly install the package?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) &amp;lt;ipython-input-2-a1637f3f9be1&amp;gt; in &amp;lt;module&amp;gt; 1 from ayx import Alteryx 2 df = Alteryx.read("#1") ----&amp;gt; 3 from simple_salesforce import Salesforce ModuleNotFoundError: No module named 'simple_salesforce' (Tool Id: 2)&lt;/LI&gt;&lt;LI&gt;--------------------------------------------------------------------------- NameError Traceback (most recent call last) &amp;lt;ipython-input-6-8f500699bebc&amp;gt; in &amp;lt;module&amp;gt; 4 pswd = 'REDACTED' 5 sec_token = 'REDACTED' ----&amp;gt; 6 sf_con = Salesforce(username = username,\ 7 password = pswd, 8 security_token= sec_token, NameError: name 'Salesforce' is not defined (Tool Id: 2)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;--------------------------------------------------------------------------- NameError Traceback (most recent call last) &amp;lt;ipython-input-7-3d3e0b041c41&amp;gt; in &amp;lt;module&amp;gt; ----&amp;gt; 1 sf_con.bulk.Opportunity.update(list_records, batch_size=50, use_serial= True) NameError: name 'sf_con'&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 19:47:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Installing-Python-Package-on-server/m-p/741058#M8605</guid>
      <dc:creator>cyberpunk3369</dc:creator>
      <dc:date>2021-03-30T19:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Python Package on server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Installing-Python-Package-on-server/m-p/741305#M8609</link>
      <description>&lt;P&gt;Do you have the RunAs user set for your server?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 11:46:29 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Installing-Python-Package-on-server/m-p/741305#M8609</guid>
      <dc:creator>patrick_mcauliffe</dc:creator>
      <dc:date>2021-03-31T11:46:29Z</dc:date>
    </item>
  </channel>
</rss>

