Open saram098 opened 8 months ago
can you try adding -v
to pip install. You might then see what the error is.
cwd: /tmp/pip-req-build-d4i5gjer/ Building wheel for pytorch3d (setup.py) ... error ERROR: Failed building wheel for pytorch3d Running setup.py clean for pytorch3d Running command python setup.py clean running clean removing 'build/lib.linux-x86_64-cpython-311' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it removing 'build' Failed to build pytorch3d ERROR: Could not build wheels for pytorch3d, which is required to install pyproject.toml-based projects
Got this error now
This is much too little information for us to be able to help you. You need to make pip output the actual error being experienced, and -v should help. There may be a log file somewhere created by the build.
Using pip 23.2.1 from /home/Linux-VM/anaconda3/lib/python3.11/site-packages/pip (python 3.11)
Collecting git+https://github.com/facebookresearch/pytorch3d.git@stable
Cloning https://github.com/facebookresearch/pytorch3d.git (to revision stable) to /tmp/pip-req-build-d4i5gjer
Running command git version
git version 2.25.1
Running command git clone --filter=blob:none https://github.com/facebookresearch/pytorch3d.git /tmp/pip-req-build-d4i5gjer
Cloning into '/tmp/pip-req-build-d4i5gjer'...
Updating files: 0% (2/1062)
Updating files: 1% (11/1062)
Updating files: 2% (22/1062)
Updating files: 3% (32/1062)
Updating files: 4% (43/1062)
Updating files: 5% (54/1062)
Updating files: 6% (64/1062)
Updating files: 7% (75/1062)
Updating files: 8% (85/1062)
Updating files: 9% (96/1062)
Updating files: 10% (107/1062)
Updating files: 11% (117/1062)
Updating files: 12% (128/1062)
Updating files: 13% (139/1062)
Updating files: 14% (149/1062)
Updating files: 15% (160/1062)
Updating files: 16% (170/1062)
Updating files: 17% (181/1062)
Updating files: 18% (192/1062)
Updating files: 19% (202/1062)
Updating files: 20% (213/1062)
Updating files: 21% (224/1062)
Updating files: 22% (234/1062)
Updating files: 23% (245/1062)
Updating files: 24% (255/1062)
Updating files: 25% (266/1062)
Updating files: 26% (277/1062)
Updating files: 27% (287/1062)
Updating files: 28% (298/1062)
Updating files: 29% (308/1062)
Updating files: 30% (319/1062)
Updating files: 31% (330/1062)
Updating files: 32% (340/1062)
Updating files: 33% (351/1062)
Updating files: 34% (362/1062)
Updating files: 35% (372/1062)
Updating files: 36% (383/1062)
Updating files: 37% (393/1062)
Updating files: 38% (404/1062)
Updating files: 39% (415/1062)
Updating files: 40% (425/1062)
Updating files: 41% (436/1062)
Updating files: 42% (447/1062)
Updating files: 43% (457/1062)
Updating files: 44% (468/1062)
Updating files: 45% (478/1062)
Updating files: 46% (489/1062)
Updating files: 47% (500/1062)
Updating files: 48% (510/1062)
Updating files: 49% (521/1062)
Updating files: 50% (531/1062)
Updating files: 51% (542/1062)
Updating files: 52% (553/1062)
Updating files: 53% (563/1062)
Updating files: 54% (574/1062)
Updating files: 55% (585/1062)
Updating files: 56% (595/1062)
Updating files: 57% (606/1062)
Updating files: 58% (616/1062)
Updating files: 59% (627/1062)
Updating files: 60% (638/1062)
Updating files: 61% (648/1062)
Updating files: 62% (659/1062)
Updating files: 63% (670/1062)
Updating files: 64% (680/1062)
Updating files: 65% (691/1062)
Updating files: 66% (701/1062)
Updating files: 67% (712/1062)
Updating files: 68% (723/1062)
Updating files: 69% (733/1062)
Updating files: 70% (744/1062)
Updating files: 71% (755/1062)
Updating files: 72% (765/1062)
Updating files: 73% (776/1062)
Updating files: 74% (786/1062)
Updating files: 75% (797/1062)
Updating files: 76% (808/1062)
Updating files: 77% (818/1062)
Updating files: 78% (829/1062)
Updating files: 79% (839/1062)
Updating files: 80% (850/1062)
Updating files: 81% (861/1062)
Updating files: 82% (871/1062)
Updating files: 83% (882/1062)
Updating files: 84% (893/1062)
Updating files: 85% (903/1062)
Updating files: 86% (914/1062)
Updating files: 87% (924/1062)
Updating files: 88% (935/1062)
Updating files: 89% (946/1062)
Updating files: 90% (956/1062)
Updating files: 91% (967/1062)
Updating files: 92% (978/1062)
Updating files: 93% (988/1062)
Updating files: 94% (999/1062)
Updating files: 95% (1009/1062)
Updating files: 96% (1020/1062)
Updating files: 97% (1031/1062)
Updating files: 98% (1041/1062)
Updating files: 99% (1052/1062)
Updating files: 100% (1062/1062)
Updating files: 100% (1062/1062), done.
Running command git show-ref stable
2f11ddc5ee7d6bd56f2fb6744a16776fab6536f7 refs/tags/stable
Running command git rev-parse HEAD
f34104cf6ebefacd7b7e07955ee7aaa823e616ac
Running command git checkout -q 2f11ddc5ee7d6bd56f2fb6744a16776fab6536f7
Resolved https://github.com/facebookresearch/pytorch3d.git to commit 2f11ddc5ee7d6bd56f2fb6744a16776fab6536f7
Running command git rev-parse HEAD
2f11ddc5ee7d6bd56f2fb6744a16776fab6536f7
Running command python setup.py egg_info
running egg_info
creating /tmp/pip-pip-egg-info-jg4jj_lx/pytorch3d.egg-info
writing /tmp/pip-pip-egg-info-jg4jj_lx/pytorch3d.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-jg4jj_lx/pytorch3d.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-jg4jj_lx/pytorch3d.egg-info/entry_points.txt
writing requirements to /tmp/pip-pip-egg-info-jg4jj_lx/pytorch3d.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-jg4jj_lx/pytorch3d.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-jg4jj_lx/pytorch3d.egg-info/SOURCES.txt'
/home/Linux-VM/anaconda3/lib/python3.11/site-packages/torch/utils/cpp_extension.py:500: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
reading manifest file '/tmp/pip-pip-egg-info-jg4jj_lx/pytorch3d.egg-info/SOURCES.txt'
adding license file 'LICENSE'
adding license file 'LICENSE-3RD-PARTY'
writing manifest file '/tmp/pip-pip-egg-info-jg4jj_lx/pytorch3d.egg-info/SOURCES.txt'
Preparing metadata (setup.py) ... done
Requirement already satisfied: fvcore in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from pytorch3d==0.7.5) (0.1.5.post20221221)
Requirement already satisfied: iopath in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from pytorch3d==0.7.5) (0.1.10)
Requirement already satisfied: numpy in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from fvcore->pytorch3d==0.7.5) (1.24.3)
Requirement already satisfied: yacs>=0.1.6 in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from fvcore->pytorch3d==0.7.5) (0.1.8)
Requirement already satisfied: pyyaml>=5.1 in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from fvcore->pytorch3d==0.7.5) (6.0)
Requirement already satisfied: tqdm in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from fvcore->pytorch3d==0.7.5) (4.65.0)
Requirement already satisfied: termcolor>=1.1 in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from fvcore->pytorch3d==0.7.5) (2.4.0)
Requirement already satisfied: Pillow in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from fvcore->pytorch3d==0.7.5) (9.4.0)
Requirement already satisfied: tabulate in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from fvcore->pytorch3d==0.7.5) (0.8.10)
Requirement already satisfied: typing-extensions in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from iopath->pytorch3d==0.7.5) (4.9.0)
Requirement already satisfied: portalocker in /home/Linux-VM/anaconda3/lib/python3.11/site-packages (from iopath->pytorch3d==0.7.5) (2.8.2)
Building wheels for collected packages: pytorch3d
Running command git rev-parse HEAD
2f11ddc5ee7d6bd56f2fb6744a16776fab6536f7
Running command python setup.py bdist_wheel
running bdist_wheel
/home/Linux-VM/anaconda3/lib/python3.11/site-packages/torch/utils/cpp_extension.py:500: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/pytorch3d
copying pytorch3d/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d
creating build/lib.linux-x86_64-cpython-311/projects
copying projects/__init__.py -> build/lib.linux-x86_64-cpython-311/projects
creating build/lib.linux-x86_64-cpython-311/pytorch3d/transforms
copying pytorch3d/transforms/transform3d.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/transforms
copying pytorch3d/transforms/se3.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/transforms
copying pytorch3d/transforms/rotation_conversions.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/transforms
copying pytorch3d/transforms/math.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/transforms
copying pytorch3d/transforms/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/transforms
copying pytorch3d/transforms/so3.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/transforms
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron
copying pytorch3d/implicitron/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron
copying pytorch3d/implicitron/eval_demo.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron
creating build/lib.linux-x86_64-cpython-311/pytorch3d/structures
copying pytorch3d/structures/volumes.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/structures
copying pytorch3d/structures/pointclouds.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/structures
copying pytorch3d/structures/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/structures
copying pytorch3d/structures/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/structures
copying pytorch3d/structures/meshes.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/structures
creating build/lib.linux-x86_64-cpython-311/pytorch3d/utils
copying pytorch3d/utils/ico_sphere.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/utils
copying pytorch3d/utils/camera_conversions.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/utils
copying pytorch3d/utils/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/utils
copying pytorch3d/utils/torus.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/utils
copying pytorch3d/utils/checkerboard.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/utils
creating build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/materials.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/camera_conversions.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/compositing.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/lighting.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/cameras.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/blending.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/fisheyecameras.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/splatter_blend.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
copying pytorch3d/renderer/camera_utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer
creating build/lib.linux-x86_64-cpython-311/pytorch3d/io
copying pytorch3d/io/off_io.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/io
copying pytorch3d/io/experimental_gltf_io.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/io
copying pytorch3d/io/pluggable.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/io
copying pytorch3d/io/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/io
copying pytorch3d/io/obj_io.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/io
copying pytorch3d/io/pluggable_formats.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/io
copying pytorch3d/io/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/io
copying pytorch3d/io/ply_io.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/io
copying pytorch3d/io/mtl_io.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/io
creating build/lib.linux-x86_64-cpython-311/pytorch3d/datasets
copying pytorch3d/datasets/shapenet_base.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets
copying pytorch3d/datasets/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets
copying pytorch3d/datasets/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets
creating build/lib.linux-x86_64-cpython-311/pytorch3d/vis
copying pytorch3d/vis/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/vis
copying pytorch3d/vis/texture_vis.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/vis
copying pytorch3d/vis/plotly_vis.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/vis
creating build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/sample_points_from_meshes.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/sample_farthest_points.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/cameras_alignment.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/cubify.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/marching_cubes.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/points_to_volumes.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/knn.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/ball_query.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/points_normals.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/mesh_filtering.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/vert_align.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/graph_conv.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/subdivide_meshes.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/marching_cubes_data.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/perspective_n_points.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/points_alignment.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/interp_face_attrs.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/packed_to_padded.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/iou_box3d.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/mesh_face_areas_normals.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
copying pytorch3d/ops/laplacian_matrices.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/ops
creating build/lib.linux-x86_64-cpython-311/pytorch3d/common
copying pytorch3d/common/linear_with_repeat.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/common
copying pytorch3d/common/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/common
copying pytorch3d/common/datatypes.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/common
copying pytorch3d/common/compat.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/common
creating build/lib.linux-x86_64-cpython-311/pytorch3d/loss
copying pytorch3d/loss/mesh_laplacian_smoothing.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/loss
copying pytorch3d/loss/mesh_edge_loss.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/loss
copying pytorch3d/loss/point_mesh_distance.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/loss
copying pytorch3d/loss/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/loss
copying pytorch3d/loss/mesh_normal_consistency.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/loss
copying pytorch3d/loss/chamfer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/loss
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/image_utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/vis_utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/rasterize_mc.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/point_cloud_utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/config.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/metric_utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/circle_fitting.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/stats.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/model_io.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/depth_cleanup.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/camera_utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/video_writer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
copying pytorch3d/implicitron/tools/eval_video_trajectory.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/tools
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/evaluation
copying pytorch3d/implicitron/evaluation/evaluator.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/evaluation
copying pytorch3d/implicitron/evaluation/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/evaluation
copying pytorch3d/implicitron/evaluation/evaluate_new_view_synthesis.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/evaluation
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/third_party
copying pytorch3d/implicitron/third_party/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/third_party
copying pytorch3d/implicitron/third_party/pytorch_prototyping.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/third_party
copying pytorch3d/implicitron/third_party/hyperlayers.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/third_party
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/train_eval_data_loader_provider.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/sql_dataset_provider.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/load_blender.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/data_loader_map_provider.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/rendered_mesh_dataset_map_provider.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/scene_batch_sampler.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/single_sequence_dataset.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/data_source.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/frame_data.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/visualize.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/load_llff.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/dataset_map_provider.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/sql_dataset.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/dataset_base.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/json_index_dataset_map_provider.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/json_index_dataset_map_provider_v2.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/llff_dataset_map_provider.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/json_index_dataset.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/orm_types.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/blender_dataset_map_provider.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
copying pytorch3d/implicitron/dataset/types.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/dataset
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models
copying pytorch3d/implicitron/models/base_model.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models
copying pytorch3d/implicitron/models/model_dbir.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models
copying pytorch3d/implicitron/models/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models
copying pytorch3d/implicitron/models/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models
copying pytorch3d/implicitron/models/generic_model.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models
copying pytorch3d/implicitron/models/metrics.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models
copying pytorch3d/implicitron/models/overfit_model.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/feature_extractor
copying pytorch3d/implicitron/models/feature_extractor/resnet_feature_extractor.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/feature_extractor
copying pytorch3d/implicitron/models/feature_extractor/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/feature_extractor
copying pytorch3d/implicitron/models/feature_extractor/feature_extractor.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/feature_extractor
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/view_pooler
copying pytorch3d/implicitron/models/view_pooler/view_sampler.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/view_pooler
copying pytorch3d/implicitron/models/view_pooler/view_pooler.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/view_pooler
copying pytorch3d/implicitron/models/view_pooler/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/view_pooler
copying pytorch3d/implicitron/models/view_pooler/feature_aggregator.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/view_pooler
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/global_encoder
copying pytorch3d/implicitron/models/global_encoder/global_encoder.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/global_encoder
copying pytorch3d/implicitron/models/global_encoder/autodecoder.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/global_encoder
copying pytorch3d/implicitron/models/global_encoder/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/global_encoder
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/lstm_renderer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/ray_sampler.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/multipass_ea.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/ray_tracing.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/raymarcher.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/ray_point_refiner.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/rgb_net.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/sdf_renderer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
copying pytorch3d/implicitron/models/renderer/base.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/renderer
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
copying pytorch3d/implicitron/models/implicit_function/scene_representation_networks.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
copying pytorch3d/implicitron/models/implicit_function/neural_radiance_field.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
copying pytorch3d/implicitron/models/implicit_function/voxel_grid.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
copying pytorch3d/implicitron/models/implicit_function/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
copying pytorch3d/implicitron/models/implicit_function/idr_feature_field.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
copying pytorch3d/implicitron/models/implicit_function/decoding_functions.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
copying pytorch3d/implicitron/models/implicit_function/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
copying pytorch3d/implicitron/models/implicit_function/voxel_grid_implicit_function.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
copying pytorch3d/implicitron/models/implicit_function/base.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/implicit_function
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/visualization
copying pytorch3d/implicitron/models/visualization/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/visualization
copying pytorch3d/implicitron/models/visualization/render_flyaround.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron/models/visualization
creating build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/implicit
copying pytorch3d/renderer/implicit/sample_pdf.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/implicit
copying pytorch3d/renderer/implicit/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/implicit
copying pytorch3d/renderer/implicit/raysampling.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/implicit
copying pytorch3d/renderer/implicit/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/implicit
copying pytorch3d/renderer/implicit/raymarching.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/implicit
copying pytorch3d/renderer/implicit/renderer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/implicit
copying pytorch3d/renderer/implicit/harmonic_embedding.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/implicit
creating build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/clip.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/rasterize_meshes.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/rasterizer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/textures.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/renderer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/shader.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/shading.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/mesh
creating build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points
copying pytorch3d/renderer/points/rasterize_points.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points
copying pytorch3d/renderer/points/compositor.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points
copying pytorch3d/renderer/points/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points
copying pytorch3d/renderer/points/rasterizer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points
copying pytorch3d/renderer/points/renderer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points
creating build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/opengl
copying pytorch3d/renderer/opengl/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/opengl
copying pytorch3d/renderer/opengl/rasterizer_opengl.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/opengl
copying pytorch3d/renderer/opengl/opengl_utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/opengl
creating build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points/pulsar
copying pytorch3d/renderer/points/pulsar/unified.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points/pulsar
copying pytorch3d/renderer/points/pulsar/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points/pulsar
copying pytorch3d/renderer/points/pulsar/renderer.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/renderer/points/pulsar
creating build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/r2n2
copying pytorch3d/datasets/r2n2/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/r2n2
copying pytorch3d/datasets/r2n2/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/r2n2
copying pytorch3d/datasets/r2n2/r2n2.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/r2n2
creating build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/shapenet
copying pytorch3d/datasets/shapenet/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/shapenet
copying pytorch3d/datasets/shapenet/shapenet_core.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/shapenet
creating build/lib.linux-x86_64-cpython-311/pytorch3d/common/workaround
copying pytorch3d/common/workaround/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/common/workaround
copying pytorch3d/common/workaround/symeig3x3.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/common/workaround
copying pytorch3d/common/workaround/utils.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/common/workaround
creating build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron_trainer
copying projects/implicitron_trainer/visualize_reconstruction.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron_trainer
copying projects/implicitron_trainer/experiment.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron_trainer
copying projects/implicitron_trainer/__init__.py -> build/lib.linux-x86_64-cpython-311/pytorch3d/implicitron_trainer
copying pytorch3d/datasets/r2n2/r2n2_synset_dict.json -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/r2n2
copying pytorch3d/datasets/shapenet/shapenet_synset_dict_v2.json -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/shapenet
copying pytorch3d/datasets/shapenet/shapenet_synset_dict_v1.json -> build/lib.linux-x86_64-cpython-311/pytorch3d/datasets/shapenet
running build_ext
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-req-build-d4i5gjer/setup.py", line 144, in <module>
setup(
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 325, in run
self.run_command("build")
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 509, in build_extensions
compiler_name, compiler_version = self._check_abi()
^^^^^^^^^^^^^^^^^
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 895, in _check_abi
_, version = get_compiler_abi_compatibility_and_version(compiler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 359, in get_compiler_abi_compatibility_and_version
if not check_compiler_ok_for_platform(compiler):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Linux-VM/anaconda3/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 312, in check_compiler_ok_for_platform
which = subprocess.check_output(['which', compiler], stderr=subprocess.STDOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Linux-VM/anaconda3/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Linux-VM/anaconda3/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['which', 'g++']' returned non-zero exit status 1.
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/Linux-VM/anaconda3/bin/python -u -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-d4i5gjer/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d /tmp/pip-wheel-komrl96c
cwd: /tmp/pip-req-build-d4i5gjer/
Building wheel for pytorch3d (setup.py) ... error
ERROR: Failed building wheel for pytorch3d
Running setup.py clean for pytorch3d
Running command python setup.py clean
running clean
removing 'build/lib.linux-x86_64-cpython-311' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.11' does not exist -- can't clean it
removing 'build'
Failed to build pytorch3d
ERROR: Could not build wheels for pytorch3d, which is required to install pyproject.toml-based projects
(base) Linux-VM@TryLinux:~/Documents/Try-on$ ^C
(base) Linux-VM@TryLinux:~/Documents/Try-on$ cwd: /tmp/pip-req-build-d4i5gjer/
for pytorch3d (setup.py) ... error
ERROR: Failed building wheel for pytorch3d
Running setup.py clean for pytorch3d
Running command python setup.py clean
running clean
removing 'build/lib.linux-x86_64-cpython-311' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.11' does not exist -- can't clean it
removing 'build'
Failed to build pytorch3d
ERROR: Could not build wheels for pytorch3d, which is required to install pyproject.toml-based projectscwd:
This is the error I am getting after running following command: pip install -v 'git+https://github.com/facebookresearch/pytorch3d.git@stable'
Looks like a compiler wasn't found. Do you have dev tools installed? Is nvcc working? (try nvcc --version
and g++ --version
).
Installed Successfully by installing nvcc and g++ Thnaks
# Load SMPL model
smplModelPath = smpl_dir + '/basicModel_neutral_lbs_10_207_0_v1.0.0.pkl'
smpl_model = SMPL(smplModelPath, batch_size=1, create_transl=False).cuda()
# Load HMR model for SMPL
SMPL_MEAN_PARAMS = extra_dir + '/body_module/data_from_spin/data/smpl_mean_params.npz'
regressor_checkpoint = extra_dir + '/body_module/pretrained_weights/2020_05_31-00_50_43-best-51.749683916568756.pt'
model_regressor = hmr(SMPL_MEAN_PARAMS).cuda()
checkpoint = torch.load(regressor_checkpoint)
model_regressor.load_state_dict(checkpoint['model'], strict=False)
model_regressor.eval();
# Body box detection model
body_bbox_detector = BodyPoseEstimator()
# Renderer
input_size = 1920
renderer = Pytorch3dRenderer(img_size=input_size, mesh_color=[1, 1, 1])
when I run this code, I get the error
{
"name": "RuntimeError",
"message": "The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.",
"stack": "---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
Cell In[6], line 3
1 # Load SMPL model
2 smplModelPath = smpl_dir + '/basicModel_neutral_lbs_10_207_0_v1.0.0.pkl'
----> 3 smpl_model = SMPL(smplModelPath, batch_size=1, create_transl=False).cuda()
5 # Load HMR model for SMPL
6 SMPL_MEAN_PARAMS = extra_dir + '/body_module/data_from_spin/data/smpl_mean_params.npz'
File ~/Documents/Tryon/.conda/lib/python3.8/site-packages/torch/nn/modules/module.py:911, in Module.cuda(self, device)
894 def cuda(self: T, device: Optional[Union[int, device]] = None) -> T:
895 r\"\"\"Move all model parameters and buffers to the GPU.
896
897 This also makes associated parameters and buffers different objects. So
(...)
909 Module: self
910 \"\"\"
--> 911 return self._apply(lambda t: t.cuda(device))
File ~/Documents/Tryon/.conda/lib/python3.8/site-packages/torch/nn/modules/module.py:802, in Module._apply(self, fn, recurse)
800 if recurse:
801 for module in self.children():
--> 802 module._apply(fn)
804 def compute_should_use_set_data(tensor, tensor_applied):
805 if torch._has_compatible_shallow_copy_type(tensor, tensor_applied):
806 # If the new tensor has compatible tensor type as the existing tensor,
807 # the current behavior is to change the tensor in-place using `.data =`,
(...)
812 # global flag to let the user control whether they want the future
813 # behavior of overwriting the existing tensor or not.
File ~/Documents/Tryon/.conda/lib/python3.8/site-packages/torch/nn/modules/module.py:849, in Module._apply(self, fn, recurse)
847 for key, buf in self._buffers.items():
848 if buf is not None:
--> 849 self._buffers[key] = fn(buf)
851 return self
File ~/Documents/Tryon/.conda/lib/python3.8/site-packages/torch/nn/modules/module.py:911, in Module.cuda.<locals>.<lambda>(t)
894 def cuda(self: T, device: Optional[Union[int, device]] = None) -> T:
895 r\"\"\"Move all model parameters and buffers to the GPU.
896
897 This also makes associated parameters and buffers different objects. So
(...)
909 Module: self
910 \"\"\"
--> 911 return self._apply(lambda t: t.cuda(device))
File ~/Documents/Tryon/.conda/lib/python3.8/site-packages/torch/cuda/__init__.py:302, in _lazy_init()
300 if \"CUDA_MODULE_LOADING\" not in os.environ:
301 os.environ[\"CUDA_MODULE_LOADING\"] = \"LAZY\"
--> 302 torch._C._cuda_init()
303 # Some of the queued calls may reentrantly call _lazy_init();
304 # we need to just return without initializing in that case.
305 # However, we must not let any *other* threads in!
306 _tls.is_initializing = True
RuntimeError: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver."
}
This isn't a pytorch3d-specific problem. It looks like your pytorch version is too new for your version of the nvidia driver, so PyTorch isn't able to use cuda at all. You need to change versions, and we can't help here.
Looks like a compiler wasn't found. Do you have dev tools installed? Is nvcc working? (try nvcc --version and g++ --version).
Hi ! I am having the same issue when trying to install pytorch3d on windows. I've tried adding the -v , but then I am getting way too many prints with remarks. It is even lagging my pc, so I guess it's useless to paste the results. However, sending g++ --version
returns an error. so I am guessing I shouldn't look much further. However, should I install g++ through python, or should I install it normally ? If normally, is this link correct ? https://www.freecodecamp.org/news/how-to-install-c-and-cpp-compiler-on-windows/
@Neiizo please open a new issue and report everything the template encourages you to report. Windows is really different. g++ isn't used for this on windows. python extensions are built with the visual C++ compiler / part of visual studio.
You can try my repository for building packages and PyPI simple index and see if it works for you (no need to compile it then): https://github.com/facebookresearch/pytorch3d/discussions/1752
Looks like a compiler wasn't found. Do you have dev tools installed? Is nvcc working? (try
nvcc --version
andg++ --version
).
(edited comment) ... see also #1770
Running pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"
:
gives successfull:
(ai) PS C:\Develop\ai> pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"
Collecting git+https://github.com/facebookresearch/pytorch3d.git@stable
Cloning https://github.com/facebookresearch/pytorch3d.git (to revision stable) to c:\users\someone\appdata\local\temp\pip-req-build-sc2x3_j2
Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/pytorch3d.git 'C:\Users\Someone\AppData\Local\Temp\pip-req-build-sc2x3_j2'
Running command git checkout -q 89653419d0973396f3eff1a381ba09a07fffc2ed
Resolved https://github.com/facebookresearch/pytorch3d.git to commit 89653419d0973396f3eff1a381ba09a07fffc2ed
Preparing metadata (setup.py) ... done
Requirement already satisfied: fvcore in c:\users\someone\micromamba\envs\ai\lib\site-packages (from pytorch3d==0.7.7) (0.1.5.post20221221)
Requirement already satisfied: iopath in c:\users\someone\micromamba\envs\ai\lib\site-packages (from pytorch3d==0.7.7) (0.1.10)
Requirement already satisfied: numpy in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (1.26.4)
Requirement already satisfied: yacs>=0.1.6 in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (0.1.8)
Requirement already satisfied: pyyaml>=5.1 in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (6.0.1)
Requirement already satisfied: tqdm in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (4.66.4)
Requirement already satisfied: termcolor>=1.1 in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (2.4.0)
Requirement already satisfied: Pillow in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (10.4.0)
Requirement already satisfied: tabulate in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (0.9.0)
Requirement already satisfied: typing-extensions in c:\users\someone\micromamba\envs\ai\lib\site-packages (from iopath->pytorch3d==0.7.7) (4.12.2)
Requirement already satisfied: portalocker in c:\users\someone\micromamba\envs\ai\lib\site-packages (from iopath->pytorch3d==0.7.7) (2.10.0)
Requirement already satisfied: pywin32>=226 in c:\users\someone\micromamba\envs\ai\lib\site-packages (from portalocker->iopath->pytorch3d==0.7.7) (306)
Requirement already satisfied: colorama in c:\users\someone\micromamba\envs\ai\lib\site-packages (from tqdm->fvcore->pytorch3d==0.7.7) (0.4.6)
However, When I run the following sample code from the pytouch3d tutorial: https://pytorch3d.org/tutorials/deform_source_mesh_to_target_mesh From the beginning code block:
import os
import sys
import torch
need_pytorch3d=False
try:
import pytorch3d
except ModuleNotFoundError:
need_pytorch3d=True
if need_pytorch3d:
if torch.__version__.startswith("2.2.") and sys.platform.startswith("linux"):
# We try to install PyTorch3D via a released wheel.
pyt_version_str=torch.__version__.split("+")[0].replace(".", "")
version_str="".join([
f"py3{sys.version_info.minor}_cu",
torch.version.cuda.replace(".",""),
f"_pyt{pyt_version_str}"
])
!pip install fvcore iopath
!pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/{version_str}/download.html
else:
# We try to install PyTorch3D from source.
!pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'
I get:
ERROR: Invalid requirement: "'git+https://github.com/facebookresearch/pytorch3d.git@stable'": Expected package name at the start of dependency specifier
'git+https://github.com/facebookresearch/pytorch3d.git@stable'
^
if I run:
micromamba install pytorch3d::pytorch3d
I get
pytorch3d/win-64 No change
pytorch3d/noarch No change
Pinned packages:
- python 3.12.*
error libmamba Could not solve for environment specs
The following package could not be installed
└─ pytorch3d does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs
Here are the packages I have installed in my active enviroment:
List of packages in environment: "C:\\Users\\Someone\\micromamba\\envs\\ai"
Name Version Build Channel
--------------------------------------------------------------------------------------------
aiohttp 3.9.5 py312he70551f_0 conda-forge
aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge
annotated-types 0.7.0 pyhd8ed1ab_0 conda-forge
anyio 4.4.0 pyhd8ed1ab_0 conda-forge
aom 3.9.1 he0c23c2_0 conda-forge
argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge
argon2-cffi-bindings 21.2.0 py312he70551f_4 conda-forge
arrow 1.3.0 pyhd8ed1ab_0 conda-forge
asttokens 2.4.1 pyhd8ed1ab_0 conda-forge
async-lru 2.0.4 pyhd8ed1ab_0 conda-forge
attrs 23.2.0 pyh71513ae_0 conda-forge
babel 2.14.0 pyhd8ed1ab_0 conda-forge
beautifulsoup4 4.12.3 pyha770c72_0 conda-forge
blas 1.0 mkl conda-forge
bleach 6.1.0 pyhd8ed1ab_0 conda-forge
blosc 1.21.6 h85f69ea_0 conda-forge
bokeh 3.4.2 pyhd8ed1ab_0 conda-forge
brotli 1.1.0 hcfcfb64_1 conda-forge
brotli-bin 1.1.0 hcfcfb64_1 conda-forge
brotli-python 1.1.0 py312h53d5487_1 conda-forge
bzip2 1.0.8 hcfcfb64_5 conda-forge
ca-certificates 2024.7.4 h56e8100_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
cadquery 2.4.0 pyhd8ed1ab_0 conda-forge
cairo 1.18.0 h91e5215_2 conda-forge
casadi 3.6.5 py312hb567ab1_4 conda-forge
cccl 2.4.0 h49adc43_0 conda-forge
certifi 2024.8.30 py312haa95532_0
cffi 1.16.0 py312he70551f_0 conda-forge
charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge
cma 4.0.0 pyhecae5ae_0 conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
comm 0.2.2 pyhd8ed1ab_0 conda-forge
contourpy 1.2.1 py312h0d7def4_0 conda-forge
cuda-cccl 12.6.37 0 nvidia
cuda-cccl_win-64 12.6.37 h57928b3_0 conda-forge
cuda-crt-dev_win-64 12.6.68 h57928b3_0 conda-forge
cuda-crt-tools 12.6.68 h57928b3_0 conda-forge
cuda-cudart 12.6.68 he0c23c2_0 conda-forge
cuda-cudart-dev 12.4.127 0 nvidia
cuda-cudart-dev_win-64 12.6.68 he0c23c2_0 conda-forge
cuda-cudart-static_win-64 12.6.68 he0c23c2_0 conda-forge
cuda-cudart_win-64 12.6.68 he0c23c2_0 conda-forge
cuda-cupti 12.4.127 0 nvidia
cuda-libraries 12.4.0 0 nvidia
cuda-libraries-dev 12.4.0 0 nvidia
cuda-nvcc 12.6.68 h8f04d04_0 conda-forge
cuda-nvcc-dev_win-64 12.6.68 h36c15f3_0 conda-forge
cuda-nvcc-impl 12.6.68 h53cbb54_0 conda-forge
cuda-nvcc-tools 12.6.68 he0c23c2_0 conda-forge
cuda-nvcc_win-64 12.6.68 h8f04d04_0 conda-forge
cuda-nvrtc 12.4.127 0 nvidia
cuda-nvrtc-dev 12.4.127 0 nvidia
cuda-nvtx 12.4.127 0 nvidia
cuda-nvvm-dev_win-64 12.6.68 h57928b3_0 conda-forge
cuda-nvvm-impl 12.6.68 he0c23c2_0 conda-forge
cuda-nvvm-tools 12.6.68 he0c23c2_0 conda-forge
cuda-opencl 12.6.68 he0c23c2_0 conda-forge
cuda-opencl-dev 12.6.68 he0c23c2_0 conda-forge
cuda-profiler-api 12.6.68 h57928b3_0 conda-forge
cuda-runtime 12.1.0 0 nvidia
cuda-version 12.6 h7480c83_3 conda-forge
cycler 0.12.1 pyhd8ed1ab_0 conda-forge
dataclasses 0.8 pyhc8e2a94_3 conda-forge
dav1d 1.2.1 hcfcfb64_0 conda-forge
debugpy 1.8.2 py312h275cf98_0 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge
distro 1.9.0 pyhd8ed1ab_0 conda-forge
double-conversion 3.3.0 h63175ca_0 conda-forge
eigen 3.4.0 h91493d7_0 conda-forge
entrypoints 0.4 pyhd8ed1ab_0 conda-forge
exceptiongroup 1.2.0 pyhd8ed1ab_2 conda-forge
executing 2.0.1 pyhd8ed1ab_0 conda-forge
expat 2.5.0 h63175ca_1 conda-forge
ezdxf 0.14.2 py_0 conda-forge
ffmpeg 6.1.1 gpl_h97ca3ef_116 conda-forge
filelock 3.15.4 pyhd8ed1ab_0 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 h77eed37_2 conda-forge
fontconfig 2.14.2 hbde0cde_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.53.0 py312h4389bb4_0 conda-forge
fqdn 1.5.1 pyhd8ed1ab_0 conda-forge
freeimage 3.18.0 h2b56e36_20 conda-forge
freetype 2.12.1 hdaf720e_2 conda-forge
fribidi 1.0.10 h8d14728_0 conda-forge
frozenlist 1.4.1 py312he70551f_0 conda-forge
fvcore 0.1.5.post20221221 pyhd8ed1ab_0 conda-forge
getopt-win32 0.1 hcfcfb64_1 conda-forge
gl2ps 1.4.2 had7236b_1 conda-forge
glew 2.1.0 h39d44d4_2 conda-forge
glib 2.80.2 h7025463_1 conda-forge
glib-tools 2.80.2 h4394cf3_1 conda-forge
graphite2 1.3.13 h63175ca_1003 conda-forge
graphviz 9.0.0 h51cb2cd_1 conda-forge
gst-plugins-base 1.24.5 hb0a98b8_0 conda-forge
gstreamer 1.24.5 h5006eae_0 conda-forge
gts 0.7.6 h6b5321d_4 conda-forge
h11 0.14.0 pyhd8ed1ab_0 conda-forge
h2 4.1.0 pyhd8ed1ab_0 conda-forge
harfbuzz 9.0.0 h81778c3_0 conda-forge
hdf4 4.2.15 h5557f11_7 conda-forge
hdf5 1.14.3 nompi_h2b43c12_105 conda-forge
hpack 4.0.0 pyh9f0ad1d_0 conda-forge
httpcore 1.0.5 pyhd8ed1ab_0 conda-forge
httpx 0.27.0 pyhd8ed1ab_0 conda-forge
hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge
icu 73.2 h63175ca_0 conda-forge
idna 3.7 pyhd8ed1ab_0 conda-forge
imath 3.1.11 h12be248_0 conda-forge
importlib-metadata 8.0.0 pyha770c72_0 conda-forge
importlib_metadata 8.0.0 hd8ed1ab_0 conda-forge
importlib_resources 6.4.0 pyhd8ed1ab_0 conda-forge
intel-openmp 2024.2.0 h57928b3_979 conda-forge
iopath 0.1.10 pyhd8ed1ab_0 conda-forge
ipopt 3.14.16 ha3daec3_4 conda-forge
ipycanvas 0.13.2 pyhd8ed1ab_0 conda-forge
ipyevents 2.0.2 pyhd8ed1ab_0 conda-forge
ipykernel 6.29.5 pyh4bbf305_0 conda-forge
ipympl 0.9.4 pyhd8ed1ab_0 conda-forge
ipython 8.27.0 pyh7428d3b_0 conda-forge
ipython_genutils 0.2.0 pyhd8ed1ab_1 conda-forge
ipyvtklink 0.2.3 pyhd8ed1ab_0 conda-forge
ipywidgets 7.8.0 pyhd8ed1ab_0 conda-forge
isoduration 20.11.0 pyhd8ed1ab_0 conda-forge
jedi 0.19.1 pyhd8ed1ab_0 conda-forge
jinja2 3.1.4 pyhd8ed1ab_0 conda-forge
jiter 0.5.0 py312h2615798_0 conda-forge
joblib 1.4.2 pyhd8ed1ab_0 conda-forge
json5 0.9.25 pyhd8ed1ab_0 conda-forge
jsoncpp 1.9.5 h2d74725_1 conda-forge
jsonpointer 3.0.0 py312h2e8e312_0 conda-forge
jsonschema 4.22.0 pyhd8ed1ab_0 conda-forge
jsonschema-specifications 2023.12.1 pyhd8ed1ab_0 conda-forge
jsonschema-with-format-nongpl 4.22.0 pyhd8ed1ab_0 conda-forge
jupyter 1.1.1 pyhd8ed1ab_0 conda-forge
jupyter-lsp 2.2.5 pyhd8ed1ab_0 conda-forge
jupyter_client 8.6.2 pyhd8ed1ab_0 conda-forge
jupyter_console 6.6.3 pyhd8ed1ab_0 conda-forge
jupyter_core 5.7.2 py312h2e8e312_0 conda-forge
jupyter_events 0.10.0 pyhd8ed1ab_0 conda-forge
jupyter_server 2.14.1 pyhd8ed1ab_0 conda-forge
jupyter_server_terminals 0.5.3 pyhd8ed1ab_0 conda-forge
jupyterlab 4.2.3 pyhd8ed1ab_0 conda-forge
jupyterlab_pygments 0.3.0 pyhd8ed1ab_1 conda-forge
jupyterlab_server 2.27.2 pyhd8ed1ab_0 conda-forge
jupyterlab_widgets 1.1.7 pyhd8ed1ab_0 conda-forge
jxrlib 1.1 hcfcfb64_3 conda-forge
khronos-opencl-icd-loader 2023.04.17 h64bf75a_1 conda-forge
kiwisolver 1.4.5 py312h0d7def4_1 conda-forge
krb5 1.21.3 hdf4eb48_0 conda-forge
lcms2 2.16 h67d730c_0 conda-forge
lerc 4.0.0 h63175ca_0 conda-forge
libaec 1.1.3 h63175ca_0 conda-forge
libblas 3.9.0 1_h8933c1f_netlib conda-forge
libbrotlicommon 1.1.0 hcfcfb64_1 conda-forge
libbrotlidec 1.1.0 hcfcfb64_1 conda-forge
libbrotlienc 1.1.0 hcfcfb64_1 conda-forge
libcblas 3.9.0 5_hd5c7e75_netlib conda-forge
libclang13 18.1.8 default_ha5278ca_0 conda-forge
libcublas 12.4.2.65 0 nvidia
libcublas-dev 12.4.2.65 0 nvidia
libcufft 11.2.0.44 0 nvidia
libcufft-dev 11.2.0.44 0 nvidia
libcurand 10.3.7.68 he0c23c2_0 conda-forge
libcurand-dev 10.3.7.68 he0c23c2_0 conda-forge
libcurl 8.8.0 hd5e4a3a_1 conda-forge
libcusolver 11.6.0.99 0 nvidia
libcusolver-dev 11.6.0.99 0 nvidia
libcusparse 12.3.0.142 0 nvidia
libcusparse-dev 12.3.0.142 0 nvidia
libdeflate 1.20 hcfcfb64_0 conda-forge
libexpat 2.5.0 h63175ca_1 conda-forge
libffi 3.4.2 h8ffe710_5 conda-forge
libflang 5.0.0 h6538335_20180525 conda-forge
libgd 2.3.3 h312136b_9 conda-forge
libglib 2.80.2 h7025463_1 conda-forge
libhwloc 2.11.0 default_h8125262_1000 conda-forge
libiconv 1.17 hcfcfb64_2 conda-forge
libintl 0.22.5 h5728263_2 conda-forge
libintl-devel 0.22.5 h5728263_2 conda-forge
libjpeg-turbo 3.0.0 hcfcfb64_1 conda-forge
liblapack 3.9.0 5_hd5c7e75_netlib conda-forge
libnetcdf 4.9.2 nompi_h92078aa_114 conda-forge
libnpp 12.2.5.2 0 nvidia
libnpp-dev 12.2.5.2 0 nvidia
libnvfatbin 12.6.68 he0c23c2_0 conda-forge
libnvfatbin-dev 12.6.68 he0c23c2_0 conda-forge
libnvjitlink 12.4.99 0 nvidia
libnvjitlink-dev 12.4.99 0 nvidia
libnvjpeg 12.3.1.89 0 nvidia
libnvjpeg-dev 12.3.1.89 0 nvidia
libogg 1.3.5 h2466b09_0 conda-forge
libopus 1.3.1 h8ffe710_1 conda-forge
libosqp 0.6.3 h63175ca_0 conda-forge
libpng 1.6.43 h19919ed_0 conda-forge
libqdldl 0.1.5 h63175ca_1 conda-forge
libraw 0.21.1 h5557f11_2 conda-forge
libsodium 1.0.18 h8d14728_1 conda-forge
libsqlite 3.46.0 h2466b09_0 conda-forge
libssh2 1.11.0 h7dfc565_0 conda-forge
libtheora 1.1.1 hc70643c_1006 conda-forge
libtiff 4.6.0 hddb2be6_3 conda-forge
libuv 1.48.0 hcfcfb64_0 conda-forge
libvorbis 1.3.7 h0e60522_0 conda-forge
libwebp 1.4.0 h2466b09_0 conda-forge
libwebp-base 1.4.0 hcfcfb64_0 conda-forge
libxcb 1.16 hcd874cb_0 conda-forge
libxml2 2.12.7 h283a6d9_1 conda-forge
libzip 1.10.1 h1d365fa_3 conda-forge
libzlib 1.3.1 h2466b09_1 conda-forge
linkify-it-py 2.0.3 pyhd8ed1ab_0 conda-forge
llvm-meta 5.0.0 0 conda-forge
loguru 0.7.2 py312h2e8e312_1 conda-forge
lz4-c 1.9.4 hcfcfb64_0 conda-forge
m2w64-gcc-libgfortran 5.3.0 6 conda-forge
m2w64-gcc-libs 5.3.0 7 conda-forge
m2w64-gcc-libs-core 5.3.0 7 conda-forge
m2w64-gmp 6.1.0 2 conda-forge
m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge
markdown 3.6 pyhd8ed1ab_0 conda-forge
markdown-it-py 3.0.0 pyhd8ed1ab_0 conda-forge
markupsafe 2.1.5 py312he70551f_0 conda-forge
matplotlib 3.9.1 py312h2e8e312_1 conda-forge
matplotlib-base 3.9.1 py312h90004f6_2 conda-forge
matplotlib-inline 0.1.7 pyhd8ed1ab_0 conda-forge
mdit-py-plugins 0.4.1 pyhd8ed1ab_0 conda-forge
mdurl 0.1.2 pyhd8ed1ab_0 conda-forge
metis 5.1.0 h63175ca_1007 conda-forge
miktex 24.4 hcfcfb64_1 conda-forge
mistune 3.0.2 pyhd8ed1ab_0 conda-forge
mkl 2023.1.0 h6a75c08_48682 conda-forge
mpmath 1.3.0 pyhd8ed1ab_0 conda-forge
msgpack-python 1.0.8 py312hd5eb7cc_0 conda-forge
msys2-conda-epoch 20160418 1 conda-forge
multidict 6.0.5 py312he70551f_0 conda-forge
multimethod 1.9.1 pyhd8ed1ab_0 conda-forge
mumps-seq 5.7.2 h7c2359a_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
nbclient 0.10.0 pyhd8ed1ab_0 conda-forge
nbconvert 7.16.4 hd8ed1ab_1 conda-forge
nbconvert-core 7.16.4 pyhd8ed1ab_1 conda-forge
nbconvert-pandoc 7.16.4 hd8ed1ab_1 conda-forge
nbformat 5.10.4 pyhd8ed1ab_0 conda-forge
nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge
networkx 3.3 pyhd8ed1ab_1 conda-forge
nlohmann_json 3.11.3 h1537add_0 conda-forge
nlopt 2.7.1 py312h1fad3b1_5 conda-forge
notebook 7.2.1 pyhd8ed1ab_0 conda-forge
notebook-shim 0.2.4 pyhd8ed1ab_0 conda-forge
nptyping 2.5.0 pyhd8ed1ab_0 conda-forge
numpy 2.1.1 py312h49bc9c5_0 conda-forge
occt 7.7.2 all_h165458f_201 conda-forge
ocp 7.7.2.1 py312h446c654_0 conda-forge
openai 1.44.0 pyhd8ed1ab_0 conda-forge
openexr 3.2.2 h72640d8_1 conda-forge
openh264 2.4.1 h63175ca_0 conda-forge
openjpeg 2.5.2 h3d672ee_0 conda-forge
openmp 5.0.0 vc14_1 conda-forge
openssl 3.3.1 h2466b09_1 conda-forge
overrides 7.7.0 pyhd8ed1ab_0 conda-forge
packaging 24.1 pyhd8ed1ab_0 conda-forge
pandas 2.2.2 py312h72972c8_1 conda-forge
pandoc 3.2.1 h57928b3_0 conda-forge
pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge
panel 1.4.5 pyhd8ed1ab_0 conda-forge
pango 1.54.0 hbb871f6_1 conda-forge
param 2.1.1 pyhff2d567_0 conda-forge
parso 0.8.4 pyhd8ed1ab_0 conda-forge
pcre2 10.44 h3d7b363_0 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 10.4.0 py312h381445a_0 conda-forge
pip 24.2 pyh8b19718_1 conda-forge
pixman 0.43.4 h63175ca_0 conda-forge
pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge
platformdirs 4.2.2 pyhd8ed1ab_0 conda-forge
ply 3.11 pyhd8ed1ab_2 conda-forge
portalocker 2.10.0 py312h2e8e312_0 conda-forge
proj 9.3.1 he13c7e8_0 conda-forge
prometheus_client 0.20.0 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.47 pyha770c72_0 conda-forge
prompt_toolkit 3.0.47 hd8ed1ab_0 conda-forge
proxsuite 0.6.6 py312hd5eb7cc_0 conda-forge
psutil 6.0.0 py312h4389bb4_0 conda-forge
pthread-stubs 0.4 hcd874cb_1001 conda-forge
pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge
pugixml 1.14 h63175ca_0 conda-forge
pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge
pybind11-abi 4 hd8ed1ab_3 conda-forge
pycparser 2.22 pyhd8ed1ab_0 conda-forge
pydantic 2.8.0 pyhd8ed1ab_0 conda-forge
pydantic-core 2.20.0 py312h2615798_0 conda-forge
pygments 2.18.0 pyhd8ed1ab_0 conda-forge
pyparsing 3.1.2 pyhd8ed1ab_0 conda-forge
pyqt 5.15.9 py312he09f080_5 conda-forge
pyqt5-sip 12.12.2 py312h53d5487_5 conda-forge
pysocks 1.7.1 pyh0701188_6 conda-forge
python 3.12.2 h2628c8c_0_cpython conda-forge
python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge
python-fastjsonschema 2.20.0 pyhd8ed1ab_0 conda-forge
python-graphviz 0.20.3 pyh717bed2_0 conda-forge
python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge
python-tzdata 2024.1 pyhd8ed1ab_0 conda-forge
python_abi 3.12 4_cp312 conda-forge
pytorch 2.4.1 py3.12_cuda12.1_cudnn9_0 pytorch
pytorch-cuda 12.1 hde6ce7c_5 pytorch
pytorch-mutex 1.0 cuda pytorch
pytz 2024.1 pyhd8ed1ab_0 conda-forge
pyviz_comms 3.0.2 pyhd8ed1ab_1 conda-forge
pywin32 306 py312h53d5487_2 conda-forge
pywinpty 2.0.13 py312h53d5487_0 conda-forge
pyyaml 6.0.1 py312he70551f_1 conda-forge
pyzmq 26.0.3 py312hd7027bb_0 conda-forge
qhull 2020.2 hc790b64_5 conda-forge
qt-main 5.15.8 h06adc49_22 conda-forge
qtconsole-base 5.5.2 pyha770c72_0 conda-forge
qtpy 2.4.1 pyhd8ed1ab_0 conda-forge
rapidjson 1.1.0.post20240409 he0c23c2_1 conda-forge
referencing 0.35.1 pyhd8ed1ab_0 conda-forge
requests 2.32.3 pyhd8ed1ab_0 conda-forge
rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge
rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge
rpds-py 0.18.1 py312h2615798_0 conda-forge
scikit-learn 1.5.1 py312h816cc57_0 conda-forge
scipy 1.14.1 py312h1f4e10d_0 conda-forge
send2trash 1.8.3 pyh5737063_0 conda-forge
setuptools 70.1.1 pyhd8ed1ab_0 conda-forge
simde 0.8.2 hc790b64_0 conda-forge
sip 6.7.12 py312h53d5487_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
snappy 1.2.1 h23299a8_0 conda-forge
sniffio 1.3.1 pyhd8ed1ab_0 conda-forge
soupsieve 2.5 pyhd8ed1ab_1 conda-forge
sqlite 3.46.0 h2466b09_0 conda-forge
stack_data 0.6.2 pyhd8ed1ab_0 conda-forge
svt-av1 2.1.2 he0c23c2_0 conda-forge
symlink-exe-runtime 1.0 hcfcfb64_0 conda-forge
sympy 1.13.2 pyh04b8f61_3 conda-forge
tabulate 0.9.0 pyhd8ed1ab_1 conda-forge
tbb 2021.12.0 hc790b64_2 conda-forge
tbb-devel 2021.12.0 h9a7971d_2 conda-forge
termcolor 2.4.0 pyhd8ed1ab_0 conda-forge
terminado 0.18.1 pyh5737063_0 conda-forge
threadpoolctl 3.5.0 pyhc1e730c_0 conda-forge
tinycss2 1.3.0 pyhd8ed1ab_0 conda-forge
tinyxml2 10.0.0 h63175ca_0 conda-forge
tk 8.6.13 h5226925_1 conda-forge
toml 0.10.2 pyhd8ed1ab_0 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
torchaudio 2.4.1 py312_cu121 pytorch
torchvision 0.19.1 py312_cu121 pytorch
tornado 6.4.1 py312h4389bb4_0 conda-forge
tqdm 4.66.4 pyhd8ed1ab_0 conda-forge
traitlets 5.14.3 pyhd8ed1ab_0 conda-forge
types-python-dateutil 2.9.0.20240316 pyhd8ed1ab_0 conda-forge
typing-extensions 4.12.2 hd8ed1ab_0 conda-forge
typing_extensions 4.12.2 pyha770c72_0 conda-forge
typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge
typish 1.9.3 pyhd8ed1ab_0 conda-forge
tzdata 2024a h0c530f3_0 conda-forge
uc-micro-py 1.0.3 pyhd8ed1ab_0 conda-forge
ucrt 10.0.22621.0 h57928b3_0 conda-forge
uri-template 1.3.0 pyhd8ed1ab_0 conda-forge
urllib3 2.2.2 pyhd8ed1ab_1 conda-forge
utfcpp 4.0.5 h57928b3_0 conda-forge
vc 14.3 h8a93ad2_20 conda-forge
vc14_runtime 14.40.33810 ha82c5b3_20 conda-forge
vs2015_runtime 14.40.33810 h3bf8584_20 conda-forge
vs2019_win-64 19.29.30154 h96f319f_5
vswhere 2.8.4 haa95532_0
vtk 9.2.6 qt_py312h1234567_223 conda-forge
vtk-base 9.2.6 qt_py312h1234567_223 conda-forge
wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge
webcolors 24.6.0 pyhd8ed1ab_0 conda-forge
webencodings 0.5.1 pyhd8ed1ab_2 conda-forge
websocket-client 1.8.0 pyhd8ed1ab_0 conda-forge
wheel 0.43.0 pyhd8ed1ab_1 conda-forge
widgetsnbextension 3.6.6 pyhd8ed1ab_0 conda-forge
win32_setctime 1.1.0 pyhd8ed1ab_0 conda-forge
win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge
winpty 0.4.3 4 conda-forge
wslink 2.1.1 pyhd8ed1ab_0 conda-forge
x264 1!164.3095 h8ffe710_2 conda-forge
x265 3.5 h2d74725_3 conda-forge
xorg-kbproto 1.0.7 hcd874cb_1002 conda-forge
xorg-libice 1.1.1 hcd874cb_0 conda-forge
xorg-libsm 1.2.4 hcd874cb_0 conda-forge
xorg-libx11 1.8.9 h0076a8d_1 conda-forge
xorg-libxau 1.0.11 hcd874cb_0 conda-forge
xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge
xorg-libxext 1.3.4 hcd874cb_2 conda-forge
xorg-libxpm 3.5.17 hcd874cb_0 conda-forge
xorg-libxt 1.3.0 hcd874cb_1 conda-forge
xorg-xextproto 7.3.0 hcd874cb_1003 conda-forge
xorg-xproto 7.0.31 hcd874cb_1007 conda-forge
xyzservices 2024.6.0 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h8d14728_0 conda-forge
yacs 0.1.8 pyhd8ed1ab_0 conda-forge
yaml 0.2.5 h8ffe710_2 conda-forge
yarl 1.9.4 py312he70551f_0 conda-forge
zeromq 4.3.5 he1f189c_4 conda-forge
zipp 3.19.2 pyhd8ed1ab_0 conda-forge
zlib 1.3.1 h2466b09_1 conda-forge
zstandard 0.22.0 py312h7606c53_1 conda-forge
zstd 1.5.6 h0ea2cb4_0 conda-forge
Every time I download the pytorch3d using pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable' I got this error
I also tried it using pip install 'git+https://github.com/facebookresearch/pytorch3d.git'
ERROR: Failed building wheel for pytorch3d
Running setup.py clean for pytorch3d Failed to build pytorch3d ERROR: Could not build wheels for pytorch3d, which is required to install pyproject.toml-based projects