I have an older version already installed. I have upraded the package using setup.py install command. But the path is not correctly set. When I type "s3cmd" is shows the older version of software.
# s3cmd s3cmd [options] <command> [arg(s)] version 1.2.6 --help -h --verbose -v --dryrun -n # which s3cmd /usr/local/bin/s3cmd
The correct version is in different folder and I will like that to be used whenever I type the command.
# /usr/bin/s3cmd Consider using --configure parameter to create one.
How do I set path?
I have added path to .bash_profile file but it does not work.