Error when compiling from source

So I tried to compile pytorch using USE_CUDA=0 DISTRIBUTED = 0 python develop

and I am getting the following error:

What should I do?

EDIT:’s output is

Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A

OS: Ubuntu 18.04.2 LTS
GCC version: (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
CMake version: version 3.10.2

Python version: 3.6
Is CUDA available: N/A
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: GeForce 920M
Nvidia driver version: 410.48
cuDNN version: Could not collect

Versions of relevant libraries:
[pip] Could not collect
[conda] blas                      1.0                         mkl  
[conda] mkl                       2019.3                      199  
[conda] mkl-service               1.1.2            py37he904b0f_5  
[conda] mkl_fft                   1.0.10           py37ha843d7b_0  
[conda] mkl_random                1.0.2            py37hd81dba3_0

Does building with NO_MKLDNN=1 make the problem go away?

sorry for the late reply, it works :slight_smile: thanks a ton, I have a few questions though, wont turning it off, mean it is not compiled with mkldnn and due to which wont the compiled code run slower?