I tried to install Tensorflow on Linux Ubuntu 16.04 from source and using pip and I keep getting the following error return base64.b64encode(b).decode("ascii") MemoryError. I tried to google this problem but only found a website written in Chinese (probably) http://juncollin.hatenablog.com/entry/2017/03/05/025318 that doesn't really help.
1
-
It's Japanese, that guy added a swap file to the system when he got that error because he thought there was not enough ram. Then he tried again but did not have enough disk space.– madebydavidJun 2, 2017 at 18:17
Add a comment
|
1 Answer
Try installing without caching: pip install --no-cache-dir tensorflow
.
-
6if you don't use --no-cache-dir, pip stores the installation files for future use. --no-cache-dir skips that step. (pip.pypa.io/en/stable/reference/pip_install/#caching) Jul 5, 2018 at 15:35
-
I get this error: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.– user11141180Sep 28, 2019 at 2:21