Unable to Install Tensorflow (MemoryError) - python-2.7

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.

Try installing without caching: pip install --no-cache-dir tensorflow.

Related

Not able to download Scipy package for Python

I initially downloaded Python, later I installed pip and when I started downloading numpy, pandas all where installed correctly but I have problem in downloading the scipy, below I have attached my screenshot of the error appeared on my cmd.
I had the same problem, solved it by installing it from the binaries that you can find here just download the .whl file and execute pip install file.whl
Install numpy+mkl before installing scipy.

pip installation error for tensorflow

I was trying to install tensorflow from source on ubuntu 14.04, python 2.7.
I followed the steps from "tensorflow.org" for source installation.
I had completed all the steps, such as bazel installation, python dependencies installation.
In the final step for sudo pip installation; the command was as follows:-
$sudo pip install /tmp/tensorflow_pkg/tensorflow-1.3.0rc0-cp27-none-linux_x86_64.whl
but i am getting error as follows:
Unpacking /tmp/tensorflow_pkg/tensorflow-1.3.0rc0-cp27-none-linux_x86_64.whl
Downloading/unpacking tensorflow-tensorboard (from tensorflow==1.3.0rc0)
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement tensorflow-tensorboard (from tensorflow==1.3.0rc0)
Cleaning up...
No distributions at all found for tensorflow-tensorboard (from tensorflow==1.3.0rc0)
Storing debug log for failure in /home/ubuntu/.pip/pip.log
i also checked tensorflow_pkg wheel :but the above package was not available there.
so can a different .whl can be insatlled using pip such as -tensorflow-1.2.1-cp27-none-linux_x86_64.whl
which have downloaded in my desktop.
Please tell me how i can resolve this issue.
Thanks and regards
I didn't figure out the root of the problem, but for what its worth I skipped the tensorboard issue by installing an older version (1.2.0 worked for me)
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.0-cp27-none-linux_x86_64.whl
Try:
pip install tensorflow
If that doesn't work:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.1-cp27-none-linux_x86_64.whl
More info here and Common problems here.
My issue was resolved by following steps.
I updated the pip using
Also exported proxy settings.
e.g export https_proxy=...
This was able to resolve my issue.
I also tried installing other .whl file for tensorflow and yes tensorflow can be installed using the downloaded .whl file also.
Thank you

Shapely is no Win32 Application

I'm trying to install shapely via pip on Windows. I'm using python 2.7.13 32-bit on 64-bit System. It's because I'm running Mapnik too.
Mapproxy needs Shapely for reading Shapefiles for Seeding Coverages.
Trying to run pip install shapely turns into
WindowsError: [Error 193] %1 is no valid Win32-Application
pip is trying to install Shapely Version 1.5.17.
When installing version 1.6b4 from tar.gz manually downloaded the installation is working. But mapproxy-seed with shape coverage is not working.
Has anyone a solution?
Thanks for your Help.
Try to install from the wheel you can find here, with the command pip install <path-to-downloaded-file>.whl

Installing Django using pip

I'm trying to install Django using pip on my windows machine, however i keep getting an error in command prompt:
Fatal error in launcher: Unable to create process using '"'
I've been searching around on the internet for solutions, but I cant seem to find any.
Thanks in advance
Make sure you have a virtual env setup. Then activate it and try installing django.
Try use the python installation from Active State http://www.activestate.com/activepython/downloads
I'm a Linux User but I've used python and Django on Windows with ActiveState.
When you install it, the installation create a folder with any utils tools, like pip, easy_install and etc... And the pip of this script works well
Have you tried
python -m pip install django
as advised here

Syntax error with pip install

I am on an RHEL5 machine, and I installed pip by running the get-pip.py file as suggested on the pip website. Upon trying to install a couple different modules using pip, I ran into an error traceback identical to the first one in this post: Error installing python packages on Fedora
However, THERE IS NO ISSUE WITH MY PYTHON VERSION. I am running 2.7.6. The supposedly successfully installed pip version is 1.5.6. Has anybody seen this problem before? Does anyone know how to fix it?