gnn
gnn copied to clipboard
[win 10] Building wheel for tensorflow-gnn (setup.py) ... error
Building wheel for tensorflow-gnn (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\dell\Miniconda3\envs\tfgnn\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dell\AppData\Local\Temp\pip-req-build-dipdqlp_\setup.py'"'"'; file='"'"'C:\Users\dell\AppData\Local\Temp\pip-req-build-dipdqlp_\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\dell\AppData\Local\Temp\pip-wheel-64ktaxfy'
cwd: C:\Users\dell\AppData\Local\Temp\pip-req-build-dipdqlp_
Complete output (52 lines):
running bdist_wheel
running build
running bazel_build
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
DEBUG: C:/users/dell/bazel_dell/hwkq7w65/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
Loading: 0 packages loaded
Loading: 0 packages loaded
Analyzing: target //package:move_generated_files (1 packages loaded, 0 targets configured)
ERROR: C:/users/dell/appdata/local/temp/pip-req-build-dipdqlp/package/BUILD:10:10: no such target '//tensorflow_gnn/sampler:sampling_spec_pb2.py': target 'sampling_spec_pb2.py' not declared in package 'tensorflow_gnn/sampler' defined by C:/users/dell/appdata/local/temp/pip-req-build-dipdqlp_/tensorflow_gnn/sampler/BUILD and referenced by '//package:move_generated_files'
ERROR: Analysis of target '//package:move_generated_files' failed; build aborted: Analysis failed
INFO: Elapsed time: 133.684s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (10 packages loaded, 10 targets configured)
ERROR: Build failed. Not running target
FAILED: Build did NOT complete successfully (10 packages loaded, 10 targets configured)
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\dell\AppData\Local\Temp\pip-req-build-dipdqlp_\setup.py", line 152, in
setup(
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\dell\AppData\Local\Temp\pip-req-build-dipdqlp_\setup.py", line 86, in run
subprocess.check_call(
File "C:\Users\dell\Miniconda3\envs\tfgnn\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['D:\bazel\bazel.exe', 'run', '-c', 'opt', '--experimental_repo_remote_exec', '--copt=-DWIN32_LEAN_AND_MEAN', '//package:move_generated_files']' returned non-zero exit status 1.
ERROR: Failed building wheel for tensorflow-gnn
Running setup.py clean for tensorflow-gnn
Failed to build tensorflow-gnn
Installing collected packages: tensorflow-gnn
Running setup.py install for tensorflow-gnn ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\dell\Miniconda3\envs\tfgnn\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dell\AppData\Local\Temp\pip-req-build-dipdqlp_\setup.py'"'"'; file='"'"'C:\Users\dell\AppData\Local\Temp\pip-req-build-dipdqlp_\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\dell\AppData\Local\Temp\pip-record-bmf2pzwg\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dell\Miniconda3\envs\tfgnn\Include\tensorflow-gnn'
cwd: C:\Users\dell\AppData\Local\Temp\pip-req-build-dipdqlp_
Complete output (45 lines):
running install
running build
running bazel_build
Loading:
Loading: 0 packages loaded
DEBUG: C:/users/dell/bazel_dell/hwkq7w65/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
Analyzing: target //package:move_generated_files (0 packages loaded, 0 targets configured)
ERROR: C:/users/dell/appdata/local/temp/pip-req-build-dipdqlp/package/BUILD:10:10: no such target '//tensorflow_gnn/sampler:sampling_spec_pb2.py': target 'sampling_spec_pb2.py' not declared in package 'tensorflow_gnn/sampler' defined by C:/users/dell/appdata/local/temp/pip-req-build-dipdqlp_/tensorflow_gnn/sampler/BUILD and referenced by '//package:move_generated_files'
ERROR: Analysis of target '//package:move_generated_files' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.419s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
ERROR: Build failed. Not running target
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
Traceback (most recent call last):
File "
I have the same issue, but I think it's related to the install issue referenced in #7