Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Announcement | We'll be doing maintenance between 9am-11am MT on Saturday, January 25th, which may impact your experience. Thanks for your patience as we work on improving the community!

Connecting to Git scripts


Hello there!


I'm a beginner in Alteryx so still figuring out the basics. I wanted to know is it possible to connect to Git using input tool or any other tool to run a script in there?


I spent some time online, trying to get some insight on this  - but without luck, so your help would be much appreciated.


Thank you and good day!







@_Lisa_ Yes this is possible via the Python tool.


from ayx import Alteryx

I would check out this post as well -



Thanks for responding @DiganP 


I tried to install that package using the python tool but am getting the following "CalledProcessError" error. I checked online and found that I need to run Alteryx as an admin - did that but still getting the error.

Collecting git+<a href="" target="_blank"></a>
  Cloning <a href="" target="_blank"></a> to c:\users\e069285\appdata\local\temp\pip-13s6wki0-build
  Error [WinError 2] The system cannot find the file specified while executing command git clone -q <a href="" target="_blank"></a> C:\Users\e069285\AppData\Local\Temp\pip-13s6wki0-build
Cannot find command 'git'
CalledProcessError                        Traceback (most recent call last)
<ipython-input-1-5577088ecadd> in <module>
      1 from ayx import Alteryx
----> 2 Alteryx.installPackages(package="git+<a href="" target="_blank"></a>")

c:\program files\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\ayx\ in installPackage(package, install_type, debug, **kwargs)
    138     This function will install a package or list of packages into the virtual environment used by the Python tool. If using an admin installation of Alteryx, you must run Alteryx as administrator in order to use this function and install packages.
    139     """
--> 140     __installPackages__(package, install_type=install_type, debug=debug, **kwargs)

c:\program files\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\ayx\ in installPackages(package, install_type, debug)
    112     print(pip_install_result['msg'])
    113     if not pip_install_result['success']:
--> 114         raise pip_install_result['err']

c:\program files\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\ayx\ in runSubprocess(args_list, debug)
     49     try:
---> 50         result = subprocess.check_output(args_list, stderr=subprocess.STDOUT)
     51         if debug:
     52             print("[Subprocess success!]")

C:\Program Files\Alteryx\bin\Miniconda3\lib\ in check_output(timeout, *popenargs, **kwargs)
    335     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
--> 336                **kwargs).stdout

C:\Program Files\Alteryx\bin\Miniconda3\lib\ in run(input, timeout, check, *popenargs, **kwargs)
    416         if check and retcode:
    417             raise CalledProcessError(retcode, process.args,
--> 418                                      output=stdout, stderr=stderr)
    419     return CompletedProcess(process.args, retcode, stdout, stderr)

CalledProcessError: Command '['c:\\program files\\alteryx\\bin\\miniconda3\\pythontool_venv\\scripts\\python.exe', '-m', 'pip', 'install', 'git+<a href="" target="_blank"></a>']' returned non-zero exit status 1.



Any thoughts on this?


Thank again!