megadose / toutatis

Toutatis is a tool that allows you to extract information from instagrams accounts such as e-mails, phone numbers and more
GNU General Public License v3.0
1.9k stars 237 forks source link

Command Not Found #89

Closed ThomasBayman closed 2 months ago

ThomasBayman commented 9 months ago

When I try and run this, whether it is the Git Clone, or the pip install, I get:

"zsh: command not found: toutatis"

and

"zsh: command not found: -u".

I also get this:

"WARNING: The script tqdm is installed in '' which is not on PATH.

Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location."

Whenever I try adding a directory, with the folder name, it doesn't let me and says it doesn't exist.

Any tips?

Thanks.

EliteGreyIT67 commented 9 months ago

The error message "zsh: command not found: toutatis" indicates that the command toutatis is not found in your current path. To fix this error, you can add the directory where the toutatis command is located to your PATH environment variable.

To add a directory to your PATH environment variable, you can use the following command:

export PATH="$PATH:/path/to/directory"

For example, if the toutatis command is located in the directory /path/to/toutatis, you would use the following command to add it to your PATH environment variable:

export PATH="$PATH:/path/to/toutatis"

Once you have added the directory where the toutatis command is located to your PATH environment variable, you should be able to run the command without any errors.

The error message "zsh: command not found: -u" indicates that the command -u is not found in your current path. This is because the -u command is not a valid command in Zsh. To fix this error, you can remove the -u option from the command.

The warning message "WARNING: The script tqdm is installed in '' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location." indicates that the Python script tqdm is installed in a directory that is not on your PATH environment variable. This can cause problems when you try to use the tqdm script.

To fix this warning, you can either add the directory where the tqdm script is installed to your PATH environment variable, or you can use the --no-warn-script-location option when you run the pip install command.

To add the directory where the tqdm script is installed to your PATH environment variable, you can use the following command:

export PATH="$PATH:/path/to/tqdm"

For example, if the tqdm script is installed in the directory /path/to/tqdm, you would use the following command to add it to your PATH environment variable:

export PATH="$PATH:/path/to/tqdm"

To use the --no-warn-script-location option, you can use the following command:

pip install tqdm --no-warn-script-location

This will prevent the pip install command from displaying the warning message.

I hope this helps!

megadose commented 2 months ago

https://github.com/megadose/toutatis/commit/22a59c0984fd17d5e01cdb57669ec527b2c6b3d5