on 07-29-2020 01:09 PM - edited on 05-18-2023 10:13 AM by Jason_
Python packages can be installed via the Python tool in Designer however some users may prefer to install via the command line. To install Python packages via the command line, first close Designer and then open a command prompt as an administrator.
Follow the instructions below for whichever version of Designer you are using.
Activate DesignerBaseTools_venv:
Activate JupyterTool_venv:
Example on version 2021.1.4 +:
Thanks for this post! It is very help for people like me who prefer using command line.
Just a quick question, can i assume this is the same when installing on Alteryx server (workers) etc.
Regards,
Tony
Wanted to provide an update. For 2021.2 the following is the updated code.
cd "C:\Program Files\Alteryx\bin\Miniconda3\Scripts"
activate DesignerBaseTools_vEnv
cd "C:\Program Files\Alteryx\bin\Miniconda3\envs\DesignerBaseTools_vEnv\Scripts"
pip install --trusted-host files.pythonhosted.org --trusted-host pypi.org --trusted-host pypi.python.org selenium[package name]
I'm Not able to run the activate command through cmd prompt throws me an error activate' is not recognized as an internal or external command,
operable program or batch file. Let me know how to fix this?
Command:C:\Program Files\Alteryx\bin\Miniconda3\Tools\scripts>activate DesignerBaseTools_vEnv
Alteryx version 2022.1