Error while downloading pre-trained GAN model in Pytorch : 'memory' file not found
I was following the steps given in https://modelzoo.co/model/pytorch-cyclegan-and-pix2pix to download a pre-trained model.
These where the first 3 commands given there:
git clone https://github.com/pytorch/vision
cd vision
**python setup.py install**

However when I ran the third line, I got an error:
fatal error: 'memory' file not found

#include &lt;memory&gt;

error: command 'gcc' failed with exit status 1

If anyone has some idea on how to overcome this error, it would be really helpful.

See this post. Try the line

apt-get install build-essential

