Greetings!
I am trying to install a python package on our alteryx server using the below method:
installing python packages into Alteryx from command line
open command line as administrator
1) cd "C:\Program Files\Alteryx\bin\Miniconda3\Scripts"
2) activate JupyterTool_venv
3) cd "C:\Program Files\Alteryx\bin\Miniconda3\envs\JupyterTool_vEnv\Scripts"
4) pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <package_name>
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?
--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-7-3d3e0b041c41> in <module> ----> 1 sf_con.bulk.Opportunity.update(list_records, batch_size=50, use_serial= True) NameError: name 'sf_con'
Do you have the RunAs user set for your server?