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

error: can't copy 'tensorflow/python/pywrap_tensorflow.py': doesn't exist or not a regular file #8078

Closed
PapaMadeleine2022 opened this issue Mar 4, 2017 · 8 comments
Labels
stat:awaiting response Status - Awaiting response from author

Comments

@PapaMadeleine2022
Copy link

Hello, now my cuda is 7.5 , so I install tf from the source, but when I run the command 'bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg', it shows error:
Sun Mar 5 02:09:40 CST 2017 : === Using tmpdir: /tmp/tmp.4Bm642hjyI ~/ztgong/dl-tools/tensorflow/bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles ~/ztgong/dl-tools/tensorflow ~/ztgong/dl-tools/tensorflow /tmp/tmp.4Bm642hjyI ~/ztgong/dl-tools/tensorflow Sun Mar 5 02:09:41 CST 2017 : === Building wheel error: can't copy 'tensorflow/python/pywrap_tensorflow.py': doesn't exist or not a regular file

I still not fix this error, how to solve it?
thank you in advance!!

@prb12
Copy link
Member

prb12 commented Mar 6, 2017

Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

@prb12 prb12 added the stat:awaiting response Status - Awaiting response from author label Mar 6, 2017
@PapaMadeleine2022
Copy link
Author

@prb12 Thank you very much for your reply. I use ubuntu14.04, x86_64. and I use tf r1.0 by git clone https://github.com/tensorflow/tensorflow and git checkout r1.0.

@aselle aselle removed the stat:awaiting response Status - Awaiting response from author label Mar 7, 2017
@prb12
Copy link
Member

prb12 commented Mar 7, 2017

When you previously ran the command
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package, did it complete successfully?

@prb12 prb12 added the stat:awaiting response Status - Awaiting response from author label Mar 7, 2017
@PapaMadeleine2022
Copy link
Author

@prb12 yes, it did success. And running the command bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package also success.

@aselle aselle removed the stat:awaiting response Status - Awaiting response from author label Mar 8, 2017
@prb12
Copy link
Member

prb12 commented Mar 9, 2017

@IvyGongoogle your error message includes the string ~/ztgong/dl-tools/tensorflow/bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles`

Is it possibly the case that you are running this binary from a directory other than the root of your tensorflow git client?

If so, then the relative pathname of tensorflow/python/pywrap_tensorflow.py would not be found. (The build_pip_package command expects to be run in your build tree.)

@prb12 prb12 added the stat:awaiting response Status - Awaiting response from author label Mar 9, 2017
@batigooal
Copy link

I met the same problems

@asimshankar
Copy link
Contributor

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

@StatML
Copy link

StatML commented Apr 21, 2017

I meet the same problem with Ubuntu 16.04 + CUDA 8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response Status - Awaiting response from author
Projects
None yet
Development

No branches or pull requests

6 participants