How to install python3 version of package via pip on Ubuntu?

Reference Link:

http://stackoverflow.com/questions/10763440/how-to-install-python3-version-of-package-via-pip-on-ubuntu

You may want to build a virtualenv of python3, then install packages of python3 after activating the virtualenv. So your system won’t be messed up 🙂

This could be something like:

virtualenv -p /usr/bin/python3 py3env source py3env/bin/activate pip install package-name [Read More]

Tensorflow compiling from source failed on Amazon Ubuntu

RoboForex – Professional services on Forex market

Reference Links:

https://github.com/tensorflow/tensorflow/issues/7660

https://github.com/tensorflow/tensorflow/issues/349

To compile tensorflow on my Amazon AWS server, I always get some strange error. No answer got upon enormous googling.

I installed swig which is needed. However, I don’t know if this matters.

sudo apt install swig

Otherwise, maybe it just a simple running out of memory problem.

Try reducing number of parallel builds by passing ‘–local_resources 2048,.5,1.0’, which would instruct bazel to spawn no more than one compiler process at the time.

bazel build -c opt --jobs 1 --local_resources 2048,0.5,1.0 --verbose_failures --config=cuda //tensorflow/tools/pip_package:build_pip_package [Read More]