Created
August 5, 2020 11:13
-
-
Save Flock1/a4ca89c3d8d2a7d78fb386e14b466e51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collecting git+https://github.com/facebookresearch/pytorch3d.git | |
Cloning https://github.com/facebookresearch/pytorch3d.git to /tmp/pip-req-build-yyykcly2 | |
Running command git clone -q https://github.com/facebookresearch/pytorch3d.git /tmp/pip-req-build-yyykcly2 | |
Requirement already satisfied: torchvision>=0.4 in ./anaconda3/envs/work/lib/python3.8/site-packages (from pytorch3d==0.2.0) (0.6.0a0+82fd1c8) | |
Processing ./.cache/pip/wheels/a6/c2/56/ce21635637947b871a9b39e6cb33e3f11ec6e65acb8f901ccb/fvcore-0.1.1.post20200716-py3-none-any.whl | |
Requirement already satisfied: numpy in ./anaconda3/envs/work/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.2.0) (1.19.1) | |
Requirement already satisfied: torch in ./anaconda3/envs/work/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.2.0) (1.5.0) | |
Requirement already satisfied: pillow>=4.1.1 in ./anaconda3/envs/work/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.2.0) (7.2.0) | |
Collecting tqdm | |
Using cached tqdm-4.48.2-py2.py3-none-any.whl (68 kB) | |
Collecting pyyaml>=5.1 | |
Downloading PyYAML-5.3.1.tar.gz (269 kB) | |
|████████████████████████████████| 269 kB 1.3 MB/s | |
Collecting termcolor>=1.1 | |
Downloading termcolor-1.1.0.tar.gz (3.9 kB) | |
Collecting yacs>=0.1.6 | |
Using cached yacs-0.1.7-py3-none-any.whl (14 kB) | |
Collecting portalocker | |
Using cached portalocker-2.0.0-py2.py3-none-any.whl (11 kB) | |
Collecting tabulate | |
Using cached tabulate-0.8.7-py3-none-any.whl (24 kB) | |
Processing ./.cache/pip/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4/future-0.18.2-py3-none-any.whl | |
Building wheels for collected packages: pytorch3d, pyyaml, termcolor | |
Building wheel for pytorch3d (setup.py) ... error | |
ERROR: Command errored out with exit status 1: | |
command: /home/sarvagya/anaconda3/envs/work/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-yyykcly2/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-yyykcly2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-pk91bjbf | |
cwd: /tmp/pip-req-build-yyykcly2/ | |
Complete output (124 lines): | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-x86_64-3.8 | |
creating build/lib.linux-x86_64-3.8/pytorch3d | |
copying pytorch3d/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d | |
creating build/lib.linux-x86_64-3.8/pytorch3d/utils | |
copying pytorch3d/utils/torus.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils | |
copying pytorch3d/utils/ico_sphere.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils | |
copying pytorch3d/utils/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils | |
creating build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
copying pytorch3d/transforms/so3.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
copying pytorch3d/transforms/rotation_conversions.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
copying pytorch3d/transforms/transform3d.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
copying pytorch3d/transforms/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
creating build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/mtl_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/obj_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/ply_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
creating build/lib.linux-x86_64-3.8/pytorch3d/datasets | |
copying pytorch3d/datasets/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets | |
copying pytorch3d/datasets/shapenet_base.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets | |
copying pytorch3d/datasets/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets | |
creating build/lib.linux-x86_64-3.8/pytorch3d/structures | |
copying pytorch3d/structures/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures | |
copying pytorch3d/structures/pointclouds.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures | |
copying pytorch3d/structures/meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures | |
copying pytorch3d/structures/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures | |
creating build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/point_mesh_distance.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/mesh_normal_consistency.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/mesh_edge_loss.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/mesh_laplacian_smoothing.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/chamfer.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/materials.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/blending.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/cameras.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/compositing.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/lighting.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
creating build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/interp_face_attrs.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/perspective_n_points.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/points_alignment.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/packed_to_padded.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/knn.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/vert_align.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/points_normals.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/subdivide_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/mesh_face_areas_normals.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/cubify.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/sample_points_from_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/graph_conv.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
creating build/lib.linux-x86_64-3.8/pytorch3d/datasets/shapenet | |
copying pytorch3d/datasets/shapenet/shapenet_core.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets/shapenet | |
copying pytorch3d/datasets/shapenet/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets/shapenet | |
creating build/lib.linux-x86_64-3.8/pytorch3d/datasets/r2n2 | |
copying pytorch3d/datasets/r2n2/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets/r2n2 | |
copying pytorch3d/datasets/r2n2/r2n2.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets/r2n2 | |
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/shading.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/textures.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/rasterize_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/renderer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/shader.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/rasterizer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/compositor.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/renderer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/rasterize_points.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/rasterizer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
running build_ext | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/tmp/pip-req-build-yyykcly2/setup.py", line 86, in <module> | |
setup( | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/setuptools/__init__.py", line 165, in setup | |
return distutils.core.setup(**attrs) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/core.py", line 148, in setup | |
dist.run_commands() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/dist.py", line 966, in run_commands | |
self.run_command(cmd) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 223, in run | |
self.run_command('build') | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/command/build.py", line 135, in run | |
self.run_command(cmd_name) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 87, in run | |
_build_ext.run(self) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/command/build_ext.py", line 340, in run | |
self.build_extensions() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 308, in build_extensions | |
self._check_abi() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 607, in _check_abi | |
check_compiler_abi_compatibility(compiler) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 215, in check_compiler_abi_compatibility | |
if not check_compiler_ok_for_platform(compiler): | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 191, in check_compiler_ok_for_platform | |
which = subprocess.check_output(['which', compiler], stderr=subprocess.STDOUT) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/subprocess.py", line 411, in check_output | |
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/subprocess.py", line 512, in run | |
raise CalledProcessError(retcode, process.args, | |
subprocess.CalledProcessError: Command '['which', 'g++']' returned non-zero exit status 1. | |
---------------------------------------- | |
ERROR: Failed building wheel for pytorch3d | |
Running setup.py clean for pytorch3d | |
Building wheel for pyyaml (setup.py) ... done | |
Created wheel for pyyaml: filename=PyYAML-5.3.1-cp38-cp38-linux_x86_64.whl size=44617 sha256=d2629058e52ffc27daf4a589e14a29bd75a83b0782c7c27d6ac8e6b492ea8f47 | |
Stored in directory: /home/sarvagya/.cache/pip/wheels/13/90/db/290ab3a34f2ef0b5a0f89235dc2d40fea83e77de84ed2dc05c | |
Building wheel for termcolor (setup.py) ... done | |
Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4830 sha256=0872024d693f53a58456bf9c0b6dadcbe874d6557d8102276adbef56add5e96c | |
Stored in directory: /home/sarvagya/.cache/pip/wheels/a0/16/9c/5473df82468f958445479c59e784896fa24f4a5fc024b0f501 | |
Successfully built pyyaml termcolor | |
Failed to build pytorch3d | |
Installing collected packages: tqdm, pyyaml, termcolor, yacs, portalocker, tabulate, fvcore, pytorch3d, future | |
Running setup.py install for pytorch3d ... error | |
ERROR: Command errored out with exit status 1: | |
command: /home/sarvagya/anaconda3/envs/work/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-yyykcly2/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-yyykcly2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-jrkaiob5/install-record.txt --single-version-externally-managed --compile --install-headers /home/sarvagya/anaconda3/envs/work/include/python3.8/pytorch3d | |
cwd: /tmp/pip-req-build-yyykcly2/ | |
Complete output (126 lines): | |
running install | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-x86_64-3.8 | |
creating build/lib.linux-x86_64-3.8/pytorch3d | |
copying pytorch3d/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d | |
creating build/lib.linux-x86_64-3.8/pytorch3d/utils | |
copying pytorch3d/utils/torus.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils | |
copying pytorch3d/utils/ico_sphere.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils | |
copying pytorch3d/utils/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils | |
creating build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
copying pytorch3d/transforms/so3.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
copying pytorch3d/transforms/rotation_conversions.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
copying pytorch3d/transforms/transform3d.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
copying pytorch3d/transforms/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms | |
creating build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/mtl_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/obj_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
copying pytorch3d/io/ply_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io | |
creating build/lib.linux-x86_64-3.8/pytorch3d/datasets | |
copying pytorch3d/datasets/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets | |
copying pytorch3d/datasets/shapenet_base.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets | |
copying pytorch3d/datasets/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets | |
creating build/lib.linux-x86_64-3.8/pytorch3d/structures | |
copying pytorch3d/structures/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures | |
copying pytorch3d/structures/pointclouds.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures | |
copying pytorch3d/structures/meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures | |
copying pytorch3d/structures/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures | |
creating build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/point_mesh_distance.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/mesh_normal_consistency.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/mesh_edge_loss.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/mesh_laplacian_smoothing.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
copying pytorch3d/loss/chamfer.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss | |
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/materials.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/blending.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/cameras.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/compositing.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
copying pytorch3d/renderer/lighting.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer | |
creating build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/interp_face_attrs.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/perspective_n_points.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/points_alignment.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/packed_to_padded.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/knn.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/vert_align.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/points_normals.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/subdivide_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/mesh_face_areas_normals.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/cubify.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/sample_points_from_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
copying pytorch3d/ops/graph_conv.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops | |
creating build/lib.linux-x86_64-3.8/pytorch3d/datasets/shapenet | |
copying pytorch3d/datasets/shapenet/shapenet_core.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets/shapenet | |
copying pytorch3d/datasets/shapenet/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets/shapenet | |
creating build/lib.linux-x86_64-3.8/pytorch3d/datasets/r2n2 | |
copying pytorch3d/datasets/r2n2/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets/r2n2 | |
copying pytorch3d/datasets/r2n2/r2n2.py -> build/lib.linux-x86_64-3.8/pytorch3d/datasets/r2n2 | |
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/shading.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/textures.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/rasterize_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/renderer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/shader.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
copying pytorch3d/renderer/mesh/rasterizer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh | |
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/compositor.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/renderer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/rasterize_points.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
copying pytorch3d/renderer/points/rasterizer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points | |
running build_ext | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/tmp/pip-req-build-yyykcly2/setup.py", line 86, in <module> | |
setup( | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/setuptools/__init__.py", line 165, in setup | |
return distutils.core.setup(**attrs) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/core.py", line 148, in setup | |
dist.run_commands() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/dist.py", line 966, in run_commands | |
self.run_command(cmd) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run | |
return orig.install.run(self) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/command/install.py", line 545, in run | |
self.run_command('build') | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/command/build.py", line 135, in run | |
self.run_command(cmd_name) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 87, in run | |
_build_ext.run(self) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/distutils/command/build_ext.py", line 340, in run | |
self.build_extensions() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 308, in build_extensions | |
self._check_abi() | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 607, in _check_abi | |
check_compiler_abi_compatibility(compiler) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 215, in check_compiler_abi_compatibility | |
if not check_compiler_ok_for_platform(compiler): | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 191, in check_compiler_ok_for_platform | |
which = subprocess.check_output(['which', compiler], stderr=subprocess.STDOUT) | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/subprocess.py", line 411, in check_output | |
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, | |
File "/home/sarvagya/anaconda3/envs/work/lib/python3.8/subprocess.py", line 512, in run | |
raise CalledProcessError(retcode, process.args, | |
subprocess.CalledProcessError: Command '['which', 'g++']' returned non-zero exit status 1. | |
---------------------------------------- | |
ERROR: Command errored out with exit status 1: /home/sarvagya/anaconda3/envs/work/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-yyykcly2/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-yyykcly2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-jrkaiob5/install-record.txt --single-version-externally-managed --compile --install-headers /home/sarvagya/anaconda3/envs/work/include/python3.8/pytorch3d Check the logs for full command output. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment