File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ For python3:
6767
6868``` bash
6969# Ubuntu/Linux 64-bit, CPU only:
70- $ sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.6.0-cp34-cp34m -linux_x86_64.whl
70+ $ sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.6.0-cp34-none -linux_x86_64.whl
7171
7272# Ubuntu/Linux 64-bit, GPU enabled:
73- $ sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.6.0-cp34-cp34m -linux_x86_64.whl
73+ $ sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.6.0-cp34-none -linux_x86_64.whl
7474
7575# Mac OS X, CPU only:
7676$ sudo easy_install --upgrade six
@@ -138,10 +138,10 @@ $ source ~/tensorflow/bin/activate.csh # If using csh
138138(tensorflow)$ # Your prompt should change
139139
140140# Ubuntu/Linux 64-bit, CPU only:
141- (tensorflow)$ pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.6.0-cp34-cp34m -linux_x86_64.whl
141+ (tensorflow)$ pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.6.0-cp34-none -linux_x86_64.whl
142142
143143# Ubuntu/Linux 64-bit, GPU enabled:
144- (tensorflow)$ pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.6.0-cp34-cp34m -linux_x86_64.whl
144+ (tensorflow)$ pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.6.0-cp34-none -linux_x86_64.whl
145145
146146# Mac OS X, CPU only:
147147(tensorflow)$ pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.6.0-py3-none-any.whl
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ function main() {
4242 pushd ${TMPDIR}
4343 rm -f MANIFEST
4444 echo $( date) : " === Building wheel"
45- python setup.py bdist_wheel > /dev/null
45+ source tensorflow/tools/python_bin_path.sh
46+ ${PYTHON_BIN_PATH} setup.py bdist_wheel > /dev/null
4647 mkdir -p ${DEST}
4748 cp dist/* ${DEST}
4849 popd
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ function setup_python {
8282 sed -e " s/\$ PYTHON_MAJOR_VERSION/$python_major_version /g" \
8383 -e " s[\$ PYTHON_BINARY[$PYTHON_BIN_PATH [g" \
8484 tools/bazel.rc.template >> tools/bazel.rc
85+ # Write tools/python_bin_path.sh
86+ echo " export PYTHON_BIN_PATH=$PYTHON_BIN_PATH " > tools/python_bin_path.sh
8587}
8688
8789function check_python {
You can’t perform that action at this time.
0 commit comments