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 fivetran
command to locate thefivetran
executable and print its path.Add the executable's path to your
$PATH
with the following command:export PATH=$PATH:<executable_path>
NOTE: Replace
<executable_path>
with the path you printed in step 1.Verify that the
$PATH
variable has been updated:- Run the following command to print the
$PATH
variable:echo $PATH
- Check whether the output contains the path to the
fivetran
executable.
- 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.