Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx 10.11 installation issues #135

Closed
schmitzel opened this issue Nov 11, 2015 · 25 comments
Closed

osx 10.11 installation issues #135

schmitzel opened this issue Nov 11, 2015 · 25 comments

Comments

@schmitzel
Copy link

Trying to install it with pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.wh. Same issue if doing it with virutalenv.

Exception:
Traceback (most recent call last):
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/basecommand.py", line 211, in main
status = self.run(options, args)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/commands/install.py", line 305, in run
wb.build(autobuilding=True)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/wheel.py", line 705, in build
self.requirement_set.prepare_files(self.finder)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/req/req_set.py", line 334, in prepare_files
functools.partial(self._prepare_file, finder))
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/req/req_set.py", line 321, in _walk_req_to_install
more_reqs = handler(req_to_install)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/req/req_set.py", line 491, in _prepare_file
session=self.session)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/download.py", line 825, in unpack_url
session,
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/download.py", line 673, in unpack_http_url
from_path, content_type = _download_http_url(link, session, temp_dir)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/download.py", line 857, in _download_http_url
stream=True,
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 477, in get
return self.request('GET', url, *_kwargs)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/download.py", line 373, in request
return super(PipSession, self).request(method, url, *args, *_kwargs)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 465, in request
resp = self.send(prep, *_send_kwargs)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 573, in send
r = adapter.send(request, *_kwargs)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py", line 46, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/Users/Schmidt/anaconda/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

I've installed openssl (1.0.2d) through homebrew.

Tried with bazel: bazel build -c opt //tensorflow/tools/pip_package:build_pip_package and the following error pops up:
ERROR: no such package 'tensorflow/tools/pip_package': BUILD file not found on package path.
I've got tensorflow running with docker but I want it in the host machine.

@irapha
Copy link
Contributor

irapha commented Nov 11, 2015

This person seems to have had the same problem: #64 (comment)

They solved it by downloading .whl file manually ( https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl ) and run $pip install tensorflow-0.5.0-py2-none-any.whl

For other common OS X installation issues and troubleshooting: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#on-macosx-

@phsieh
Copy link

phsieh commented Nov 11, 2015

Thanks for posting the problem and the solution. I had the exact same problem and the solution given worked for me as well.

@Brenndoerfer
Copy link

Still works. Thanks

@arustagi
Copy link

Installing easy_install and upgrading setup-tools also solves the issue.
Use command: curl https://bootstrap.pypa.io/ez_setup.py -o - | python (https://pythonhosted.org/setuptools/easy_install.html#installing-easy-install).

@asimjalis
Copy link

@arustagi’s solution worked for me. This is with TensorFlow version tensorflow-0.7.1.

@mattdns1006
Copy link

@irapha This worked perfectly thanks.

@Heepo
Copy link

Heepo commented Jul 4, 2016

@irapha Worked for me perfectly with tensorflow-0.9.0.

@gnperdue
Copy link

gnperdue commented Jul 5, 2016

Solved the same problem for me with TF 0.9.0 on OSX 10.10.5

@mangate
Copy link

mangate commented Aug 4, 2016

@arustagi’s solution worked for me. This is with TensorFlow version tensorflow-0.10.0rc0

@brando90
Copy link

Has anyone experienced this issue in Linux? I'm having this issue in a linux box.

@wingated
Copy link

@brando90 I had a similar issue on a Linux box - fixed it by running

pip install --upgrade $TF_BINARY_URL
pip install -I --upgrade setuptools
pip install --upgrade $TF_BINARY_URL

@jvanlier
Copy link

jvanlier commented Sep 21, 2016

Just had this issue with Conda 4.2.7/Python 3.5.2/pip 8.1.2./Tensorflow 0.10 (CPU) on a Mac (OS X 10.11.4) in a fresh conda env. The solution @wingated posted for Linux worked for me.

@yselivonchyk
Copy link

Had the same issue with conda virtual environment. Solved it using suggestion by ContinuumIO/anaconda-issues#542
In short, next line before upgrading the tensorflow does the trick:
pip install --upgrade --ignore-installed setuptools

@rodrigocava
Copy link

@yselivonchyk worked for me ! Thanks ! 👍

@soaxelbrooke
Copy link

@yselivonchyk awesome - I came here with a similar problem with conda, but when trying to install the google cloud pubsub client lib.

@arccoder
Copy link

arccoder commented Dec 1, 2016

@yselivonchyk solution worked for me.
Installing tensorflow-0.12 on windows.

@miladm
Copy link

miladm commented Dec 4, 2016

@arustagi: your solution worked for me. Thanks!

@amamh
Copy link

amamh commented Dec 10, 2016

@yselivonchyk finally... thank you

@Nothing190
Copy link

@yselivonchyk thank you, now it works =)

@lininglouis
Copy link

@yselivonchyk works great!

@Magotraa
Copy link

@yselivonchyk, solution worked for me thank you.

@onceupon
Copy link

@yselivonchyk, finally worked!! thanks!!!!!

@anemochore
Copy link

@yselivonchyk Thanks! Now the error was solved. TensorFlow 1.0.0(CPU) on Anaconda 4.2(Python 3.5.2) with Win8.1 64bit.

@xujin1982
Copy link

@yselivonchyk Thanks! Error problem was solved. Anaconda 4.2.12 Python 2.7 with Win7 64bit

@alexband
Copy link

@yselivonchyk works for me

xinan-jiang pushed a commit to xinan-jiang/tensorflow that referenced this issue Oct 4, 2019
Closes tensorflow#135

COPYBARA_INTEGRATE_REVIEW=tensorflow/mlir#135 from bondhugula:patch-1 539a7f1b43d09ef539b2fd15875f8ac765600263
PiperOrigin-RevId: 269187507
cjolivier01 pushed a commit to Cerebras/tensorflow that referenced this issue Dec 6, 2019
…m-fwd-pooling

[StreamExecutor] reduce memory consumption in forward pooling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests