title: Is there a way to install Python for ARM in a amd64 architecture?
body: <p>I am trying to cross compile an application for arm that depends on Python2.7 headers, but as you may understand, I don't have these headers and I don't know where nor how obtain them. I tried doing something like:</p>
  
  <pre><code>sudo apt install libpython2.7-dev:armhf
  </code></pre>
  
  <p>But it didn't work, it can't find the package. I saw another question like this but the answer were that this isn't possible as it is a conflict (both binaries are named Python and so  on...), but it is? I just want the headers which are going to be in /usr/arm-linux-gnueabihf/include , what's the problem with that? </p>
  
  <p>Also, is possible that I am wrong thinking that the solution for my problem is to install the headers, the error is the following:</p>
  
  <pre><code>/usr/include/python2.7/pyconfig.h:24:54: fatal error: arm-linux-gnueabihf/python2.7/pyconfig.h: No such file or directory
  compilation terminated.
  error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
  </code></pre>
  
  <p>Any other ideas than mine?</p>
  
  <p>Thank you very much,
  Marc</p>