Search code examples
pythontensorflowtensorboard

Install TensorFlow & Tensorboard from source


I want to install Tensorflow (CPU)(py 3.6) for windows, my company uses a proxy, so i can't install through pip, i have to build it from source. I unzipped tensorflow/tensorboard/protobuf.tar.gz in my Anaconda3 folders.

When i use the setup.py files, it occurs that i need tensorboard for installing tensorflow, and i need tensorflow for installing tensorboard.

So i don't know how to proceed for installing Tensorflow without using dependencies from pypi.org.

Thanks


Solution

  • You can use pip with proxy. I was struggling with company proxy too and that was the solution for me: Run a command prompt as administrator and type the following:

    pip install --proxy http://username:password@proxy_url:port tensorflow

    (this will install the latest CPU version of tensorflow)

    This should work.