I need to update a package to beyond the version that appears on the pip (pip3) repository.
The package is torchvision; https://pytorch.org/
The version that pip3 has is 0.2.1
and I need at least 0.4.0
. Conda is even more out of date.
I would just download and compile from source, but after that I don't think I can use pip to uninstall or update it. Would pip even know it was installed? Or would it try to reinstall it next time if it found something that listed it as a dependency?
What is the least messy way to update torchvision?
I'm on Ubuntu 16.04.
Edit; In response to comments pip3 doesn’t seem to offer what I need directly;
sudo -H pip3 install --upgrade pip
and/orsudo -H pip2 install --upgrade pip
This is the least messy way to update torchvision.