I try to install scikit-image on Ubuntu 14.04:
pip install -U scikit-imageI get this error:
Collecting scikit-image Downloading scikit-image-0.11.2.tar.gz (18.6MB) 34% |########### | 6.5MB 83kB/s eta 0:02:25 Hash of the package (from ) (d92e68a3277e7d75b472991cfc6806a0) doesn't match the expected hash 9a2118cc4d18c038a7d22e3ce0141309! Bad md5 hash for package (from )I run again the above command, but I get this error over and over:
Collecting scikit-image Using cached scikit-image-0.11.2.tar.gz Hash of the package (from ) (d92e68a3277e7d75b472991cfc6806a0) doesn't match the expected hash 9a2118cc4d18c038a7d22e3ce0141309! Bad md5 hash for package (from )
begueradj@begueradj-Sampo:~$ 1 Answer
Removing Pip cache
rm -rf ~/.pip/cache/sudo rm -rf /root/.pip/cache
Or just run pip without using the cache:
--no-cache-dir
Bad Pip?
- Which version of
pipare you running?pip --versionpip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)
- Upgrade
pipsudo pip install --upgrade pip
Bad Internet/MitM?
I've just downloaded the file and verified:
9a2118cc4d18c038a7d22e3ce0141309 scikit-image-0.11.2.tar.gzWhich means you didn't download the complete file, the correct file, or something is specifically injecting a bad file.
4