Error: Command Not Found: Fivetran
Issue
I've successfully installed the Fivetran Connector SDK using the pip install fivetran-connector-sdk command. However, the following error appears when I run the fivetran command:
command not found: fivetran
Environment
Fivetran Connector SDK
Resolution
To resolve this issue, do the following:
Use the
which fivetrancommand to locate thefivetranexecutable and print its path.Add the executable's path to your
$PATHwith the following command:export PATH=$PATH:<executable_path>Replace
<executable_path>with the path you printed in step 1.Verify that the
$PATHvariable has been updated:- Run the following command to print the
$PATHvariable:echo $PATH - Check whether the output contains the path to the
fivetranexecutable.
- Run the following command to print the
Cause
This issue may occur when your Python packages directory path wasn't correctly added to the $PATH variable during Python installation.