-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete installation procedure, how to solve No module named 'torch' #40
Comments
Same problem on mac m1, cannot for god solve this problem |
I'm crazy @@ Building wheels for collected packages: torchmcubes, tokenizers × python setup.py bdist_wheel did not run successfully. |
@diego-lipinski-de-castro Could you please give the error messages? I can successfully run on my M1 Mac. |
@mirinaeman Could you please try cloning https://github.com/tatsy/torchmcubes.git to a local directory, enter the cloned directory, and do |
|
Installing MS Visual Studio with the Desktop C++ workload was how I solved this issue. |
@shodanx2 Ok i had installed prior to this VC++ toolchain but didn't work. However i ran your pip install manually and that worked. |
Installing torchmcubes requires C++ build toolchains, so on Windows installing MSVC actually might be the easiest way. |
Is there an alternative to installing Visual Studio ? |
I donnot know to install wheel and ninja. Now i have fix this problem. Thank you very much |
As discussed in tatsy/torchmcubes#5
Here is the complete solution to install TripoSR
Install python https://www.python.org/ftp/python/3.12.2/python-3.12.2-amd64.exe
Install rust package manager https://win.rustup.rs/x86_64
Install Visual Studio Community https://visualstudio.microsoft.com/visual-cpp-build-tools/
Include "Desktop C++" workload and the buildtools (should be selected by default)
download triposr https://github.com/VAST-AI-Research/TripoSR/archive/refs/heads/main.zip
uncompress with tar -xf TripoSR-main.zip
You'll want to restart your computer or at least your terminal here
Now run, in a console, in the folder TripoSR-main
Finally test triposr with
python run.py examples/chair.png --output-dir output/
This should get you a chair like this
For viewing OBJ files, you can use
https://www.meshlab.net/
or
https://sourceforge.net/projects/glc-player/
You can then try installing gradio, but that did not work for me at the moment due to a pip problem
The text was updated successfully, but these errors were encountered: