pip install –upgrade –force-reinstall When upgrading, reinstall all packages even if they are already up-to-date. Ignore the installed packages (reinstalling instead). You might want to have all three options: –upgrade and –force-reinstall ensures reinstallation, while –no-deps avoids reinstalling dependencies. Otherwise you might run into the problem that pip starts to recompile Numpy or other large packages.
pip install -I
$ sudo pip install –upgrade –no-deps –force-reinstall