![]() ![]() ![]() ![]() Procedure: Installation of a Module in the User Folder Instead of the package name, specify git URL prefixed with git . Git must be installed on the machin e to use this method. # Without cache enable to ensure that package is downloaded before installationĪlteryx.installPackage(package="logger",install_type="install -no-cache-dir") # With one package Alteryx.installPackage("logger")Īlteryx.installPackage()Īlteryx.installPackage(package=) In this case, only the package argument is specified. %ALTERYXDIR%\bin\miniconda3\envs\jupytertool_venv\python.exe -m pip install logger %ALTERYXDIR%\bin\miniconda3\pythontool_venv\scripts\python.exe -m pip install logger In reality, Alteryx.installPackages() is nothing more than a wrapper for the pip (Python Package Manager) command. ![]() Pip command to use.Īlteryx.installPackages(package, install_type=None, debug=None, **kwargs) But, looking at the method itself, there are in fact 3 parameters:Ī string or list of strings of package name(s) Typically, people use installPackage() with a single argument (the package name(s)). %ALTERYX%\bin\Miniconda3\envs\DesignerBaseTools_vEnv\Lib\site-packages for 2021.1.4 Ĭ:\Program Files\Alteryx\bin\Miniconda3\PythonTool_venvĪs a result, you may need to start Designer with administrator rights if the installation folder does not allow write access to a standard account, like for an admin version for example. %ALTERYX%\bin\Miniconda3\envs\JupyterTool_vEnv\Lib\site-packages for 2019.3.1 to 2021.1.3 %ALTERYX%\bin\Miniconda3\PythonTool_venv\Lib\site-packages until 2019.2 In this article, we will review all the possible functionality included with the Python method Alteryx.installPackages().įirst of all, don't get confused: you can use either Alteryx.installPackage(), Alteryx.installPackages(), or Package.installPackages() to achieve same result.īy default, packages are installed under: Installing a package from the Python tool is an important task. How To: Use Alteryx.installPackages() in Python tool ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |