torch-ngp icon indicating copy to clipboard operation
torch-ngp copied to clipboard

Please how to solve this problem?

Open LearnToStick opened this issue 1 year ago • 5 comments

image

LearnToStick avatar Apr 21 '23 10:04 LearnToStick

my enviroment is windows,cu117,cp38,on python virtual enviroment.

LearnToStick avatar Apr 21 '23 10:04 LearnToStick

Do you konw how to solve it? I had the same problem.

lixiangweiabc avatar Apr 24 '23 07:04 lixiangweiabc

I solved this problem by installing Microsoft Visual Studio. Because I found that the place the error happening(backend.py) was looking for cl.exe But I'm not sure this is a reasonable approach. image

Visytudz avatar Apr 25 '23 13:04 Visytudz

Hi, have you guys tried the below code block from ReadMe page? Mine is Ubuntu, but i solved the same problem by the below build block Hope it works!

+)refers to @Visytudz, installing VS code can auto build raymarching folders, too.

bash scripts/install_ext.sh

# if you want to install manually, here is an example:
cd raymarching
python setup.py build_ext --inplace # build ext only, do not install (only can be used in the parent directory)
pip install . # install to python path (you still need the raymarching/ folder, since this only install the built extension.)```

SeonjiPark avatar Jun 27 '23 07:06 SeonjiPark

my enviroment is windows,cu117,cp38,on python virtual enviroment.

解决了吗

Benton-J avatar Jul 05 '23 12:07 Benton-J