fix bug: FileNotFoundError: [Errno 2] No such file or directory: ‘nvcc‘
1.问题描述运行的代码设计pycuda,会调用nvcc,确定已经安装cudatoolkit,在terminal中云运行nvcc-V能得到想到的结果:但是在pycharm中运行代码时提示:FileNotFoundError:[Errno2]Nosuchfileordirectory:'nvcc'2.解决办法在pycharm中添加cudatoolkit路径(像在~/.bashrc中那样)