title: no math module python
body: <p>I am working in SunOS2.10.I pretty need xlwt(xlrd) modules in python(default ver. 2.4.6).In one folder of admin user, I have found Python 2.7.1, so if I write the full path to it I can use it instead of 2.4.6. I have no permission to install modules directly, so I have used command: </p>
  
  <pre><code>(path to ver 2.7)/python setup.py install --user
  </code></pre>
  
  <p>and module xlrd was installed without a problems. But during installation of module xlwt error occurs:</p>
  
  <p>"ImportError: No module named math"</p>
  
  <p>I've checked help('modules') and it lists me module "math_failed", as I understand there should be just math.
  I have also tried to install this module(xlwt) using Python 2.4 but it gives me an error that:</p>
  
  <p>"option --user not recognized",</p>
  
  <p>so as I understand this option is not available in this python version(but math module is working there fine).</p>
  
  <p>Also I was trying to install locally the whole Python using:</p>
  
  <blockquote>
    <blockquote>
      <p>./configure </p>
      
      <p>make altinstall prefix=~ exec-prefix=~</p>
    </blockquote>
  </blockquote>
  
  <p>but it also didn't work because during 'configuration' i receive error:</p>
  
  <p>"checking whether the C compiler works... no"</p>
  
  <p>I don't know how to fix this problem with the compiler or how to install math module locally because I can not even find where to download it.</p>
  
  <p>Please if anyone has any ideas - write me because I just stuck and have no idea what to do. Also I have to mention that I am very beginner in programming so sorry if I have write smt. stupid:) 
  Thanks in advance. </p>