This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 skip.montanaro
收信人 AndyP, legerf, skip.montanaro, tlesher
日期 2008-12-05.01:16:35
SpamBayes Score 5.825546e-07
Marked as misclassified
Message-id <18744.33005.894750.112774@montanaro-dyndns-org.local>
In-reply-to <1228438822.63.0.92887227954.issue4483@psf.upfronthosting.co.za>
内容
Andrew> ImportError: No module named math
    Andrew> make: *** [sharedmods] Error 1

    Andrew> The has_function source in Lib/distutils/ccompiler.py has this
    Andrew> comment:

    Andrew> # this can't be included at module scope because it tries to
    Andrew> # import math which might not be available at that point - maybe
    Andrew> # the necessary logic should just be inlined?

*sigh* I guess that would explain why it wasn't used anywhere in setup.py.

Can you try this simplified version?  (It's probably almost exactly what you
came up with.)

Thanks,

Skip
文件
文件名 上传时间
dbm.diff skip.montanaro, 2008-12-05.01:16:34
历史
日期 用户 动作 参数
2008-12-05 01:16:39skip.montanaro修改recipients: + skip.montanaro, tlesher, legerf, AndyP
2008-12-05 01:16:38skip.montanaro链接issue4483 messages
2008-12-05 01:16:37skip.montanaro创建