2007年06月12日 星期二 12:27
´ó¼ÒÓöµ½¹ýÕâ¸ö´íÎóÂð ?? [root在as4 ~]# python Could not find platform independent librariesCould not find platform dependent libraries Consider setting $PYTHONHOME to [: ] 'import site' failed; use -v for traceback Python 2.4.4 (#3, Jun 12 2007, 10:59:57) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os Traceback (most recent call last): File " ", line 1, in ? ImportError: No module named os >>> ÖªµÀµÄͬ־,°ïæһÏÂô -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070612/e88f742b/attachment.htm
2007年06月12日 星期二 12:33
On 6/12/07, haur <hekun06在gmail.com> wrote: > 大家遇到过这个错误吗 ?? > > [root在as4 ~]# python > Could not find platform independent libraries> Could not find platform dependent libraries > Consider setting $PYTHONHOME to [: > 'import site' failed; use -v for traceback > Python 2.4.4 (#3, Jun 12 2007, 10:59:57) > [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import os > Traceback (most recent call last): > File "] ", line 1, in ? > ImportError: No module named os > >>> > > 提示不是说了吗,要设置PYTHONHOME变量。 -- Best Regards, Leo Jay
2007年06月12日 星期二 13:33
ÒòΪ°²×°ÁËʲô¶«Î÷,²ÅÕâÑùµÄ, ×î½üÖ»°²×°¹ýGeoIP ѽ, Ôõô»áÕâÑùÄô 2007/6/12, Leo Jay <python.leojay在gmail.com>: > > On 6/12/07, haur <hekun06在gmail.com> wrote: > > ´ó¼ÒÓöµ½¹ýÕâ¸ö´íÎóÂð ?? > > > > [root在as4 ~]# python > > Could not find platform independent libraries> > Could not find platform dependent libraries > > Consider setting $PYTHONHOME to [: > > 'import site' failed; use -v for traceback > > Python 2.4.4 (#3, Jun 12 2007, 10:59:57) > > [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import os > > Traceback (most recent call last): > > File "] ", line 1, in ? > > ImportError: No module named os > > >>> > > > > > > Ìáʾ²»ÊÇ˵ÁËÂð£¬ÒªÉèÖÃPYTHONHOME±äÁ¿¡£ > > > -- > Best Regards, > Leo Jay > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070612/d30b8d44/attachment.html
2007年06月12日 星期二 15:25
shit ,°²×°GeoIP¹ý³ÌÖеÄGLIB°²×°, ¶Ô°²×°ÓÐÖ§³ÖJpagµÄPIL ÓгåÍ», Èç´Ë±ä̬µÄ´íÎó,ÕûËÀÀ ÔÚ07-6-12£¬haur <hekun06在gmail.com> дµÀ£º > > ÒòΪ°²×°ÁËʲô¶«Î÷,²ÅÕâÑùµÄ, > ×î½üÖ»°²×°¹ýGeoIP ѽ, Ôõô»áÕâÑùÄô > > 2007/6/12, Leo Jay <python.leojay在gmail.com>: > > > > On 6/12/07, haur <hekun06在gmail.com> wrote: > > > ´ó¼ÒÓöµ½¹ýÕâ¸ö´íÎóÂð ?? > > > > > > [root在as4 ~]# python > > > Could not find platform independent libraries> > > Could not find platform dependent libraries > > > Consider setting $PYTHONHOME to [: > > > 'import site' failed; use -v for traceback > > > Python 2.4.4 (#3, Jun 12 2007, 10:59:57) > > > [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2 > > > Type "help", "copyright", "credits" or "license" for more information. > > > >>> import os > > > Traceback (most recent call last): > > > File "] ", line 1, in ? > > > ImportError: No module named os > > > >>> > > > > > > > > > > Ìáʾ²»ÊÇ˵ÁËÂð£¬ÒªÉèÖÃPYTHONHOME±äÁ¿¡£ > > > > > > -- > > Best Regards, > > Leo Jay > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070612/787dcafa/attachment.html
Zeuux © 2025
京ICP备05028076号