Closed aiyb1314 closed 1 year ago
That sounds like you need to config pycharm where cuda is. I’m not familiar with pycharm though
When I run the code using pycharm, I get the following error message: NerfAcc: No CUDA toolkit found. NerfAcc will be disabled. , but it succeeds when using the command line.
Hi, I have the same question, did you successfully use nerfcc in PyCharm?
When I run the code using pycharm, I get the following error message: NerfAcc: No CUDA toolkit found. NerfAcc will be disabled. , but it succeeds when using the command line.
Hi, I solved the problem; The possible cause is that the call function from subprocess library starts a new process, but when running the code using pycharm, the enviroment is different from the commond line so that "nvcc" can not find;
My solution is first run "echo $PATH" on the commond line and then add the PATH value to enviroment variables in pycharm;
When I run the code using pycharm, I get the following error message: NerfAcc: No CUDA toolkit found. NerfAcc will be disabled. , but it succeeds when using the command line.
Hi, I solved the problem; The possible cause is that the call function from subprocess library starts a new process, but when running the code using pycharm, the enviroment is different from the commond line so that "nvcc" can not find;
My solution is first run "echo $PATH" on the commond line and then add the PATH value to enviroment variables in pycharm;
It works, thanks a lot!
me too
I am still come cross the same problems
I am still come cross the same problems
just add
env_list = os.environ['PATH'].split(':')
env_list.append('/usr/local/cuda/bin')
os.environ['PATH'] = ':'.join(env_list)
When I run the code using pycharm, I get the following error message: NerfAcc: No CUDA toolkit found. NerfAcc will be disabled. , but it succeeds when using the command line.