A problem of install error
Chaolu1997 opened this issue · comments
Ronaldo commented
(base) cx@amax:~/CL/HashNet-master/SoftPool-master/pytorch$ make install
rm -rf *.egg-info
rm -rf build dist
python setup.py install
Traceback (most recent call last):
File "setup.py", line 2, in
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
ModuleNotFoundError: No module named 'torch'
Makefile:2: recipe for target 'install' failed
make: *** [install] Error 1
what's matter with that ?
Alex Stergiou commented
Hi @Chaolu1997,
As the error says, you will need to have pytorch installed first before you attempt to build the repo.