wget show error not an http or ftp url.
Try running
hash -r before running wget again. This clears the bash path cache so that new executables are found.