Code Monkey home page Code Monkey logo

Comments (5)

bottler avatar bottler commented on August 27, 2024

I suspect you don't have enough visual studio components installed to build C++ python extensions. Also it's worth checking through the other issues which include "The system cannot find the file specified" like yours. We've had a few.

from pytorch3d.

ultimatech-cn avatar ultimatech-cn commented on August 27, 2024

Thanks for the reply. What I am installing is community version of VS2022
image

from pytorch3d.

bottler avatar bottler commented on August 27, 2024

I think you need to be running in that "x64 Native Tools Command Prompt..." not in a normal command prompt.

What happens when you type "nvcc" at the prompt?

And can you go back to the VS installer and install lots of components? I can't remember exactly which ones you need, but this error can be a symptom of not having enough. Maybe look at other issues...

from pytorch3d.

ultimatech-cn avatar ultimatech-cn commented on August 27, 2024

Thanks for your reply, What I am choosing is "x64 Native Tools Command Prompt..." , becasue it run [vcvarsall.bat] to setup env.
I run this [vcvarsall.bat] in my conda env to simulate that.

C:\Windows\System32>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:36:15_Pacific_Daylight_Time_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0

I will check the VS installation later. Is there any other workround for that, like wheels file?

from pytorch3d.

bottler avatar bottler commented on August 27, 2024

No - on Windows you need to build from source with Visual Studio.

from pytorch3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.