2005年02月06日 星期日 11:31
我的PYTHON安装目录里没有bin这个文件夹,我在path中就是加了c:\python24\,不过在dos下输入python可以进入python!
谢谢各位的解答,祝新春快乐:)
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="chsdate"
downloadurl=""/>
name="PersonName"/>
st1\:*{behavior:url(#default#ieooui) }
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:宋体;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:861479163;
mso-list-type:hybrid;
mso-list-template-ids:-2104851708 -1332820274 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:%1、;
mso-level-tab-stop:18.0pt;
mso-level-number-position:left;
margin-left:18.0pt;
text-indent:-18.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
其实很简单的阿:
lang=EN-US style='font-size:9.0pt;font-family:Arial;color:navy'>
size=1 color=navy face=Arial>1、
face="Times New Roman">
size=1 color=navy>在你的
size=1 color=navy face=Arial>PATH
style='font-size:9.0pt;color:navy'>环境变量加上
face=Arial>python的安装路径,例如:
lang=EN-US style='font-size:9.0pt;font-family:Arial;color:navy'>c:\python24\bin
style='font-size:9.0pt;color:navy'>确保在
face=Arial>dos命令符下输入
lang=EN-US style='font-size:9.0pt;font-family:Arial;color:navy'>:python
size=1 color=navy>能够启动
size=1 color=navy face=Arial>python
size=1 color=navy face=Arial>2、
face="Times New Roman">
size=1 color=navy>在你的资源管理器中找到你的
size=1 color=navy face=Arial>setup.py
color=navy>鼠标右键
size=1 color=navy face=Arial>setup.py
color=navy>选择打开方式,定位到你
size=1 color=navy face=Arial>python.exe
color=navy>选中始终用选择的程序打开。
size=1 color=navy face=Arial>
这样应该就可以了,
lang=EN-US style='font-size:9.0pt;font-family:Arial;color:navy'>
如果还有错误
style='font-size:9.0pt;font-family:Arial;color:navy'>
size=1 color=navy>建议你把你的
size=1 color=navy face=Arial>setup.py
style='font-size:9.0pt;color:navy'>更改以下名字
face=Arial>
size=1 color=navy>。
size=1 color=navy face=Arial>
style='font-size:9.0pt;font-family:Arial;color:navy'>
face=宋体>
发件人:
lang=EN-US style='font-size:10.0pt'> python-chinese-bounces at lists.python.cn
[mailto:python-chinese-bounces at lists.python.cn]
style='font-size:10.0pt;font-weight:bold'>代表
style='font-size:10.0pt'>小蟒
发送时间:
lang=EN-US>
Year="2005" w:st="on">2005年2
lang=EN-US>月5日
13:27
收件人:
lang=EN-US> python-chinese at lists.python.cn
主题:
lang=EN-US> Re: Re:[python-chinese]python程序的使用?
lang=EN-US>
style='font-size:12.0pt'>现在又变成'python'不是内部或外部命令
lang=EN-US>……
怎么半?
谁能详细的讲一下,谢谢了:)
> 在命令行下执行python,如果没问题,说明python的路径已经设好。再执行
lang=EN-US>
> setup.py如错,那只能是你要执行的安装文件的问题。
>
> python_cn wrote:
> > 是不是在我的电脑-高级-环境变量-系统变量里,对在PATH中添加
lang=EN-US>python的安装
> > 路径?
> > 但我这样设置后,输入python setup.py,它提示:
lang=EN-US>
> > C:\Documents and Settings\Adminstrator\桌面\Python\ChinesePython\
> > chinesepython\python setup.py
> > Traceback :
> > File "setup.py", line 624,in ?
> > sysconfig.set_python_build
> > AttributeError: 'module' object has no attribute 'set_python_build'
> >
> > 这该怎么半呢?我安装了python2.4,windows2000
> >
>
>
> --
> I love python!
> My Blog: http://www.donews.net/limodou
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
>
style='width:100.0%'>
lang=EN-US style='font-size:11.0pt'>
・
lang=EN-US>网易126邮箱--
lang=EN-US>专业电子邮局 1.5G
lang=EN-US>空间,30兆附件
http://www.126.com >>>
height=16 id="_x0000_i1025" src="http://mail.163.com/favicon.ico">
lang=EN-US>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050206/2b79a147/attachment.htm
2005年02月06日 星期日 11:48
呵呵,bin是linux上的默认可执行程序的目录,如果你在win系统中装的python,默认 在c:\python24\目录,自然不是bin目录了,win和linux的文件系统完全不同的,建议 你看下相关的知识。 _____ 发件人: python-chinese-bounces at lists.python.cn [mailto:python-chinese-bounces at lists.python.cn] 代表 小蟒 发送时间: 2005年2月6日 11:31 收件人: python-chinese at lists.python.cn 主题: Re: 答复: Re:[python-chinese]python程序的使用? 我的PYTHON安装目录里没有bin这个文件夹,我在path中就是加了c:\python24\,不过 在dos下输入python可以进入python! 谢谢各位的解答,祝新春快乐:) v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="chsdate" downloadurl=""/> name="PersonName"/> st1\:*{behavior:url(#default#ieooui) } 其实很简单的阿: lang=EN-US style='font-size:9.0pt;font-family:Arial;color:navy'> 1. size=1 color=navy face=Arial> size=1 color=navy>在你的 size=1 color=navy face=Arial>PATH style='font-size:9.0pt;color:navy'>环境变量加上 face=Arial>python的安装路径,例如: lang=EN-US style='font-size:9.0pt;font-family:Arial;color:navy'>c:\python24\bin style='font-size:9.0pt;color:navy'>确保在 face=Arial>dos命令符下输入 lang=EN-US style='font-size:9.0pt;font-family:Arial;color:navy'>:python size=1 color=navy>能够启动 size=1 color=navy face=Arial>python 2. size=1 color=navy face=Arial> size=1 color=navy>在你的资源管理器中找到你的 size=1 color=navy face=Arial>setup.py color=navy>鼠标右键 size=1 color=navy face=Arial>setup.py color=navy>选择打开方式,定位到你 size=1 color=navy face=Arial>python.exe color=navy>选中始终用选择的程序打开。 size=1 color=navy face=Arial> 这样应该就可以了, lang=EN-US style='font-size:9.0pt;font-family:Arial;color:navy'> 如果还有错误 style='font-size:9.0pt;font-family:Arial;color:navy'> size=1 color=navy>建议你把你的 size=1 color=navy face=Arial>setup.py style='font-size:9.0pt;color:navy'>更改以下名字 face=Arial> size=1 color=navy>。 size=1 color=navy face=Arial> style='font-size:9.0pt;font-family:Arial;color:navy'> face=宋体> _____ 发件人: lang=EN-US style='font-size:10.0pt'> python-chinese-bounces at lists.python.cn [mailto:python-chinese-bounces at lists.python.cn] style='font-size:10.0pt;font-weight:bold'>代表 style='font-size:10.0pt'>小蟒 发送时间: lang=EN-US> Year="2005" w:st="on">2005年2 lang=EN-US>月5日 13:27 收件人: lang=EN-US> python-chinese at lists.python.cn 主题: lang=EN-US> Re: Re:[python-chinese]python程序的使用? lang=EN-US> style='font-size:12.0pt'>现在又变成'python'不是内部或外部命令 lang=EN-US>…… 怎么半? 谁能详细的讲一下,谢谢了:) > 在命令行下执行python,如果没问题,说明python的路径已经设好。再执行 lang=EN-US> > setup.py如错,那只能是你要执行的安装文件的问题。 > > python_cn wrote: > > 是不是在我的电脑-高级-环境变量-系统变量里,对在PATH中添加 lang=EN-US>python的安装 > > 路径? > > 但我这样设置后,输入python setup.py,它提示: lang=EN-US> > > C:\Documents and Settings\Adminstrator\桌面\Python\ChinesePython\ > > chinesepython\python setup.py > > Traceback: > > File "setup.py", line 624,in ? > > sysconfig.set_python_build > > AttributeError: 'module' object has no attribute 'set_python_build' > > > > 这该怎么半呢?我安装了python2.4,windows2000 > > > > > -- > I love python! > My Blog: http://www.donews.net/limodou > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > style='width:100.0%'> lang=EN-US style='font-size:11.0pt'> ・ <http://www.126.com/> lang=EN-US>网易126邮箱-- lang=EN-US>专业电子邮局 1.5G lang=EN-US>空间,30兆附件 http://www.126.com >>> height=16 id="_x0000_i1025" src="http://mail.163.com/favicon.ico"> lang=EN-US> ・ <http://www.126.com> 网易126邮箱--专业电子邮局 1.5G空间,30兆附件 http://www.126.com >>> <http://mail.163.com/favicon.ico> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050206/9da52cbb/attachment.html
Zeuux © 2025
京ICP备05028076号