WΔ_
WΔ_

Reputation: 1247

Installing TensorFlow in a Virtualenv on OSX

I am following the instructions for installing TensorFlow in a virtual environment on Mac, however I am not sure what this instruction means:

(tensor flow)$ pip install --upgrade <$url_to_binary.whl>

Specifically the url_to_binary.whl bit.

Installation has progressed fine so far. I tried using that exact command but it printed an error:

-bash: syntax error near unexpected token `newline'

I assume that everything between the <> is a placeholder and refers to some location, not sure what though.

Upvotes: 3

Views: 869

Answers (3)

Jackie Zhang
Jackie Zhang

Reputation: 1

In my opinion,you may try like this:

(tensorflow)$ pip install --upgrade

https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl

Upvotes: -1

Salvador Dali
Salvador Dali

Reputation: 222511

They meant the binary they told about previously in the binary installation section for MacOS

Only CPU-version is available at the moment.

$ pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl

So the path to binary is https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl

Upvotes: 1

WΔ_
WΔ_

Reputation: 1247

Solved.

It's now installed and up and running.

<$url_to_binary.whl> should be replaced by https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl

I assume that was the file they meant.

Upvotes: 1

Related Questions