Provided is a compound which is represented by general formula (I’) and has an excellent PHD2-inhibiting activity or a pharmaceutically acceptable salt thereof. (In the general formula (I’), W, Y, R2, R3, R4 and Y4 are as defined in the description.)