Closed Cawnduit closed 1 year ago
You need more than the redistributable. You need more components of visual studio, like windows APIs / development kit and the C++ building tools/toolchain.
After installing Visual Studio 2022 (community version) and the Visual Studio Build Tools 2022, I am able to install successfully. Thanks!
Environment
conda 23.3.1 python 3.10.11 pytorch 2.0.1 torchvision 0.15.2
Instructions To Reproduce the Issue:
conda create -n pytorch3d python=3.10
conda activate pytorch3d
conda install pytorch torchvision torchaudio cpuonly -c pytorch
(obtained from https://pytorch.org/features/)pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"
Logs:
Unexpected behavior
Unable to install pytorch3D in conda despite Microsoft Visual C++ being the (supposedly) correct version. See image below from Control Panel.