pytorch3d icon indicating copy to clipboard operation
pytorch3d copied to clipboard

I use vs2019 tool,but had the problem.......

Open wefwwef4 opened this issue 1 year ago • 5 comments

(torch3Dtorch180) E:\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0>python setup.py install running install E:\Anaconda\envs\torch3Dtorch180\lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!

    ********************************************************************************
    Please avoid running ``setup.py`` directly.
    Instead, use pypa/build, pypa/installer, pypa/build or
    other standards-based tools.

    See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
    ********************************************************************************

!! self.initialize_options() E:\Anaconda\envs\torch3Dtorch180\lib\site-packages\setuptools_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !!

    ********************************************************************************
    Please avoid running ``setup.py`` and ``easy_install``.
    Instead, use pypa/build, pypa/installer, pypa/build or
    other standards-based tools.

    See https://github.com/pypa/setuptools/issues/917 for details.
    ********************************************************************************

!! self.initialize_options() running bdist_egg running egg_info writing pytorch3d.egg-info\PKG-INFO writing dependency_links to pytorch3d.egg-info\dependency_links.txt writing requirements to pytorch3d.egg-info\requires.txt writing top-level names to pytorch3d.egg-info\top_level.txt reading manifest file 'pytorch3d.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'pytorch3d.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py creating build\lib.win-amd64-cpython-39 creating build\lib.win-amd64-cpython-39\pytorch3d copying pytorch3d_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d creating build\lib.win-amd64-cpython-39\pytorch3d\common copying pytorch3d\common\compat.py -> build\lib.win-amd64-cpython-39\pytorch3d\common copying pytorch3d\common\types.py -> build\lib.win-amd64-cpython-39\pytorch3d\common copying pytorch3d\common\workaround.py -> build\lib.win-amd64-cpython-39\pytorch3d\common copying pytorch3d\common_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\common creating build\lib.win-amd64-cpython-39\pytorch3d\datasets copying pytorch3d\datasets\shapenet_base.py -> build\lib.win-amd64-cpython-39\pytorch3d\datasets copying pytorch3d\datasets\utils.py -> build\lib.win-amd64-cpython-39\pytorch3d\datasets copying pytorch3d\datasets_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\datasets creating build\lib.win-amd64-cpython-39\pytorch3d\io copying pytorch3d\io\experimental_gltf_io.py -> build\lib.win-amd64-cpython-39\pytorch3d\io copying pytorch3d\io\mtl_io.py -> build\lib.win-amd64-cpython-39\pytorch3d\io copying pytorch3d\io\obj_io.py -> build\lib.win-amd64-cpython-39\pytorch3d\io copying pytorch3d\io\off_io.py -> build\lib.win-amd64-cpython-39\pytorch3d\io copying pytorch3d\io\pluggable.py -> build\lib.win-amd64-cpython-39\pytorch3d\io copying pytorch3d\io\pluggable_formats.py -> build\lib.win-amd64-cpython-39\pytorch3d\io copying pytorch3d\io\ply_io.py -> build\lib.win-amd64-cpython-39\pytorch3d\io copying pytorch3d\io\utils.py -> build\lib.win-amd64-cpython-39\pytorch3d\io copying pytorch3d\io_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\io creating build\lib.win-amd64-cpython-39\pytorch3d\loss copying pytorch3d\loss\chamfer.py -> build\lib.win-amd64-cpython-39\pytorch3d\loss copying pytorch3d\loss\mesh_edge_loss.py -> build\lib.win-amd64-cpython-39\pytorch3d\loss copying pytorch3d\loss\mesh_laplacian_smoothing.py -> build\lib.win-amd64-cpython-39\pytorch3d\loss copying pytorch3d\loss\mesh_normal_consistency.py -> build\lib.win-amd64-cpython-39\pytorch3d\loss copying pytorch3d\loss\point_mesh_distance.py -> build\lib.win-amd64-cpython-39\pytorch3d\loss copying pytorch3d\loss_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\loss creating build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\ball_query.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\cameras_alignment.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\cubify.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\graph_conv.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\interp_face_attrs.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\iou_box3d.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\knn.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\laplacian_matrices.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\marching_cubes.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\marching_cubes_data.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\mesh_face_areas_normals.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\mesh_filtering.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\packed_to_padded.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\perspective_n_points.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\points_alignment.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\points_normals.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\points_to_volumes.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\sample_farthest_points.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\sample_points_from_meshes.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\subdivide_meshes.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\utils.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops\vert_align.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops copying pytorch3d\ops_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\ops creating build\lib.win-amd64-cpython-39\pytorch3d\renderer copying pytorch3d\renderer\blending.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer copying pytorch3d\renderer\cameras.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer copying pytorch3d\renderer\camera_conversions.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer copying pytorch3d\renderer\camera_utils.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer copying pytorch3d\renderer\compositing.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer copying pytorch3d\renderer\lighting.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer copying pytorch3d\renderer\materials.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer copying pytorch3d\renderer\utils.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer copying pytorch3d\renderer_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer creating build\lib.win-amd64-cpython-39\pytorch3d\structures copying pytorch3d\structures\meshes.py -> build\lib.win-amd64-cpython-39\pytorch3d\structures copying pytorch3d\structures\pointclouds.py -> build\lib.win-amd64-cpython-39\pytorch3d\structures copying pytorch3d\structures\utils.py -> build\lib.win-amd64-cpython-39\pytorch3d\structures copying pytorch3d\structures\volumes.py -> build\lib.win-amd64-cpython-39\pytorch3d\structures copying pytorch3d\structures_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\structures creating build\lib.win-amd64-cpython-39\pytorch3d\transforms copying pytorch3d\transforms\math.py -> build\lib.win-amd64-cpython-39\pytorch3d\transforms copying pytorch3d\transforms\rotation_conversions.py -> build\lib.win-amd64-cpython-39\pytorch3d\transforms copying pytorch3d\transforms\se3.py -> build\lib.win-amd64-cpython-39\pytorch3d\transforms copying pytorch3d\transforms\so3.py -> build\lib.win-amd64-cpython-39\pytorch3d\transforms copying pytorch3d\transforms\transform3d.py -> build\lib.win-amd64-cpython-39\pytorch3d\transforms copying pytorch3d\transforms_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\transforms creating build\lib.win-amd64-cpython-39\pytorch3d\utils copying pytorch3d\utils\camera_conversions.py -> build\lib.win-amd64-cpython-39\pytorch3d\utils copying pytorch3d\utils\ico_sphere.py -> build\lib.win-amd64-cpython-39\pytorch3d\utils copying pytorch3d\utils\torus.py -> build\lib.win-amd64-cpython-39\pytorch3d\utils copying pytorch3d\utils_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\utils creating build\lib.win-amd64-cpython-39\pytorch3d\vis copying pytorch3d\vis\plotly_vis.py -> build\lib.win-amd64-cpython-39\pytorch3d\vis copying pytorch3d\vis\texture_vis.py -> build\lib.win-amd64-cpython-39\pytorch3d\vis copying pytorch3d\vis_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\vis creating build\lib.win-amd64-cpython-39\pytorch3d\datasets\r2n2 copying pytorch3d\datasets\r2n2\r2n2.py -> build\lib.win-amd64-cpython-39\pytorch3d\datasets\r2n2 copying pytorch3d\datasets\r2n2\utils.py -> build\lib.win-amd64-cpython-39\pytorch3d\datasets\r2n2 copying pytorch3d\datasets\r2n2_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\datasets\r2n2 creating build\lib.win-amd64-cpython-39\pytorch3d\datasets\shapenet copying pytorch3d\datasets\shapenet\shapenet_core.py -> build\lib.win-amd64-cpython-39\pytorch3d\datasets\shapenet copying pytorch3d\datasets\shapenet_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\datasets\shapenet creating build\lib.win-amd64-cpython-39\pytorch3d\renderer\implicit copying pytorch3d\renderer\implicit\raymarching.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\implicit copying pytorch3d\renderer\implicit\raysampling.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\implicit copying pytorch3d\renderer\implicit\renderer.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\implicit copying pytorch3d\renderer\implicit\sample_pdf.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\implicit copying pytorch3d\renderer\implicit\utils.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\implicit copying pytorch3d\renderer\implicit_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\implicit creating build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh copying pytorch3d\renderer\mesh\clip.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh copying pytorch3d\renderer\mesh\rasterizer.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh copying pytorch3d\renderer\mesh\rasterize_meshes.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh copying pytorch3d\renderer\mesh\renderer.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh copying pytorch3d\renderer\mesh\shader.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh copying pytorch3d\renderer\mesh\shading.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh copying pytorch3d\renderer\mesh\textures.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh copying pytorch3d\renderer\mesh\utils.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh copying pytorch3d\renderer\mesh_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\mesh creating build\lib.win-amd64-cpython-39\pytorch3d\renderer\points copying pytorch3d\renderer\points\compositor.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\points copying pytorch3d\renderer\points\rasterizer.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\points copying pytorch3d\renderer\points\rasterize_points.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\points copying pytorch3d\renderer\points\renderer.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\points copying pytorch3d\renderer\points_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\points creating build\lib.win-amd64-cpython-39\pytorch3d\renderer\points\pulsar copying pytorch3d\renderer\points\pulsar\renderer.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\points\pulsar copying pytorch3d\renderer\points\pulsar\unified.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\points\pulsar copying pytorch3d\renderer\points\pulsar_init_.py -> build\lib.win-amd64-cpython-39\pytorch3d\renderer\points\pulsar copying pytorch3d\datasets\r2n2\r2n2_synset_dict.json -> build\lib.win-amd64-cpython-39\pytorch3d\datasets\r2n2 copying pytorch3d\datasets\shapenet\shapenet_synset_dict_v1.json -> build\lib.win-amd64-cpython-39\pytorch3d\datasets\shapenet copying pytorch3d\datasets\shapenet\shapenet_synset_dict_v2.json -> build\lib.win-amd64-cpython-39\pytorch3d\datasets\shapenet running build_ext E:\Anaconda\envs\torch3Dtorch180\lib\site-packages\torch\utils\cpp_extension.py:304: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'pytorch3d.C' extension creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\Anaconda creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180 creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0 creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\ball_query creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\blending creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\compositing creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\face_areas_normals creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\gather_scatter creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\interp_face_attrs creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\iou_box3d creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\knn creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\mesh_normal_consistency creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\packed_to_padded_tensor creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\point_mesh creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\points_to_volumes creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\pulsar creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\pulsar\cuda creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\pulsar\host creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\pulsar\pytorch creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\rasterize_coarse creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\rasterize_meshes creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\rasterize_points creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\sample_farthest_points creating build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\sample_pdf "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc" -c E:\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\ball_query\ball_query.cu -o build\temp.win-amd64-cpython-39\Release\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc\ball_query\ball_query.obj -IE:\Anaconda\envs\torch3Dtorch180\Lib\site-packages\pytorch3d-0.6.0\pytorch3d\csrc -IE:\cub-1.9.10-1 -IE:\Anaconda\envs\torch3Dtorch180\lib\site-packages\torch\include -IE:\Anaconda\envs\torch3Dtorch180\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\torch3Dtorch180\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\torch3Dtorch180\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IE:\Anaconda\envs\torch3Dtorch180\include -IE:\Anaconda\envs\torch3Dtorch180\Include "-IE:\Microsoft Visual Studio\VC\Tools\MSVC\14.29.30133\include" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 --use-local-env ball_query.cu E:/Microsoft Visual Studio/VC/Tools/MSVC/14.29.30133/include\crtdefs.h(10): fatal error C1083: 无法打开包括文件: “corecrt.h”: No such file or directory error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe' failed with exit code 2

wefwwef4 avatar Jun 17 '23 05:06 wefwwef4

You need to install more windows SDKs, perhaps you can do this in the visual studio installer. This was mentioned on https://github.com/facebookresearch/pytorch3d/issues/1553 .

bottler avatar Jun 18 '23 22:06 bottler

@wefwwef4 Hello, have you solved your problem? Among all the issues, your problem is closest to mine...... I've tried many methods, but they can't solve it.

Shinya754 avatar Aug 29 '23 08:08 Shinya754

@wefwwef4 Hello, have you solved your problem? Among all the issues, your problem is closest to mine...... I've tried many methods, but they can't solve it.

Hi, I've solve the problem by reinstall vscode2019 and c++ tool packs, and the key point is that you need to run x64 native tool command prompt as administrator

wefwwef4 avatar Aug 29 '23 08:08 wefwwef4

@wefwwef4 Hello, have you solved your problem? Among all the issues, your problem is closest to mine...... I've tried many methods, but they can't solve it.

This is my blog of the solution,but it's in Chinese... : https://blog.csdn.net/qq_45203665/article/details/131243733?spm=1001.2014.3001.5502

wefwwef4 avatar Aug 29 '23 09:08 wefwwef4

This is my blog of the solution,but it's in Chinese... : https://blog.csdn.net/qq_45203665/article/details/131243733?spm=1001.2014.3001.5502

@wefwwef4 Thank you so much for your prompt response! The information you provided has indeed helped me. (Fortunately, RTX3070 still supports CUDA11.1...)

Additionally, if this error occurs when running python setup. py install :

D:\Program Files\Anaconda3\envs\pytorch3d\Lib\site-packages\pytorch3d\csrc\mesh_normal_consistency\mesh_normal_consistency_cpu.cpp:
 fatal error C1083: 无法打开编译器生成的文件(Unable to open compiler generated file): " ": Invalid argument ......

That may be because VS cannot handle such a long path name, just move the pytorch3d folder to a different position.

Shinya754 avatar Aug 29 '23 13:08 Shinya754