I'm trying to run uninstall flask 0.9.1 to install 0.9.0 instead because i get the error
ascii_attachments = current_app.extensions['mail'].ascii_attachments
KeyError: 'mail'
and i read from this post= 'Python Flask Email KeyError KeyError: 'mail''
that this was the solution
Error: The file/path provided (routes) does not appear to exist. Please verify the path is correct. If app is not on PYTHONPATH, ensure the extension is .py
so I checked pip and I got this error:
bash: usr/local/bin/pip: No such file or directory
I thought it might be due to the cash, so I typed:
hash -r
however, the same problem occurs afterward. Any ideas on what I can do?
EDIT:
whenver i type:
$ which pip
i get this directory back: /usr/local/bin/pip