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

Failed to install from pip/pypi? #1

Open
Grant-Tao opened this issue Jun 20, 2018 · 3 comments
Open

Failed to install from pip/pypi? #1

Grant-Tao opened this issue Jun 20, 2018 · 3 comments
Labels
good first issue Good for newcomers

Comments

@Grant-Tao
Copy link

Grant-Tao commented Jun 20, 2018

where is 'generate_dist'?

and when I use 'pip install tensor flow-gpu-macosx, I got the following error:

conf = open(pwd + '/.tf_configure.bazelrc', 'r')
FileNotFoundError: [Errno 2] No such file or directory: '/.tf_configure.bazelrc'

thanks

@zylo117
Copy link
Owner

zylo117 commented Jun 20, 2018

Hi, I think I didn't update the readme file after I update the source code obviously. I don't recommend you use pip install it from pypi. Instead, you should just download the newest release .whl from Release. Then 'pip install xxx.whl'.

I'd love to upload the whole whl to pypi but they forbid me because it's too big.
So I uploaded a source code and the script to compile, which will take more than an hour of your time.

@Grant-Tao
Copy link
Author

thank you very much!
I've successfully installed the whl release (1.8.0), but :
import tensorflow as tf: success
sess = tf.Session(): Error prompt:
E tensorflow/core/grappler/clusters/utils.cc:127] Not found: TF GPU device with id 0 was not registered
yet, this error does not influence the python program, and it is verified, the GPU works normally.

My environment:
MacOS X 10.13.4
CUDA 9.1
Cudnn 7.0

I compared the efficiency of the same training program (mnist example) on macosx and on ubuntu 18.04, the program on Ubuntu platform runs much faster (roughly 30%) than that on MacOSX, why?

@zylo117
Copy link
Owner

zylo117 commented Jun 22, 2018 via email

@zylo117 zylo117 changed the title generate_dist Failed to install from pip/pypi? Jun 22, 2018
@zylo117 zylo117 added the good first issue Good for newcomers label Jun 26, 2018
@zylo117 zylo117 closed this as completed Jun 26, 2018
@zylo117 zylo117 reopened this Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants