Python中文
首页
教程
问答
标签
搜索
登录
注册
Mac Python“安装步骤失败:运行飞行后脚本”
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我是Python开发新手,在尝试安装aptanastudio时,我似乎把Python的安装搞砸了。所以我按照这里的卸载MacPython的说明<a href="http://homepages.cwi.nl/~jack/macpython/uninstall.html" rel="nofollow">http://homepages.cwi.nl/~jack/macpython/uninstall.html</a></p> <p>…现在我正试图再次安装Python。在</p> <p>据我所知,GAE需要你有python2.5。因此,我尝试从这里安装2.5.4版本:<a href="http://www.python.org/download/releases/2.5.4/" rel="nofollow">http://www.python.org/download/releases/2.5.4/</a>我已经下载了dmg,安装时出现以下错误:</p> <pre><code>The installation failed. The following installation step failed: run postflight script for Fix system Python. Contact the software manufacturer for assistance </code></pre> <p>安装程序在安装python.2.2时遇到了同样的错误。在</p> <p>我运行的是OS 10.6.8</p> <p>有什么想法吗?在Mac上安装Python有更好的/不同的方法吗?在</p> <p>更新: 当我打开我的安装程序日志时,我看到了一些问题: 我有很多这样的错误:</p> ^{pr2}$ <p>最后我得到了这个:</p> <pre><code>Sep 19 14:04:40 thething Installer[1641]: run postflight script for Fix system Python Sep 19 14:04:40 thething runner[1657]: postflight[1722]: Could not find platform independent libraries <prefix> Sep 19 14:04:40 thething runner[1657]: postflight[1722]: Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Sep 19 14:04:40 thething runner[1657]: postflight[1722]: Sep 19 14:04:40 thething runner[1657]: postflight[1722]: 'import site' failed; use -v for traceback Sep 19 14:04:40 thething runner[1657]: postflight[1722]: Traceback (most recent call last): Sep 19 14:04:40 thething runner[1657]: postflight[1722]: File "/Volumes/Python 2.6.6/Python.mpkg/Contents/Packages/PythonSystemFixes-2.6.pkg/Contents/Resources/postflight", line 16, in <module> Sep 19 14:04:40 thething runner[1657]: postflight[1722]: import os Sep 19 14:04:40 thething runner[1657]: postflight[1722]: ImportError: No module named os Sep 19 14:04:40 thething runner[1657]: postflight[1722]: Sep 19 14:04:40 thething Installer[1641]: Install failed: The following installation step failed: run postflight script for Fix system Python. Contact the software manufacturer for assistance. Sep 19 14:04:40 thething Installer[1641]: IFDInstallController 207240 state = 7 Sep 19 14:04:40 thething Installer[1641]: Displaying 'Install Failed' UI. Sep 19 14:04:40 thething Installer[1641]: 'Install Failed' UI displayed message:'The following installation step failed: run postflight script for Fix system Python. Contact the software manufacturer for assistance.'. </code></pre>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>只要不使用post2.5语言结构或包,就可以使用更新的Python进行开发。(我使用的是2.6.5。)</p> <p>Python2.7<a href="http://code.google.com/appengine/docs/roadmap.html" rel="nofollow">on the way</a>的官方支持。在</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
如何替换子字符串,但前提是它正好出现在两个单词之间
3 回答
如何替换字典中所有出现的指定字符
8 回答
如何替换字典中所有键的第一个字符?
9 回答
如何替换字典所有键中的子字符串
2 回答
如何替换字符串python中的变量值?
10 回答
如何替换字符串Python中的第二次迭代
8 回答
如何替换字符串y Python中不等于字符串x的所有内容?
5 回答
如何替换字符串中出现的第n个单词?
10 回答
如何替换字符串中单词的一部分
6 回答
如何替换字符串中同时出现的2个或更多特殊字符或下划线
1 回答
如何替换字符串中指定位置(索引)的字符?
3 回答
如何替换字符串中某个字符的所有匹配项?
2 回答
如何替换字符串中的
2 回答
如何替换字符串中的一个字符
7 回答
如何替换字符串中的主题(固定位置)
3 回答
如何替换字符串中的分隔逗号?
2 回答
如何替换字符串中的列名(python)?
2 回答
如何替换字符串中的制表符?
5 回答
如何替换字符串中的单个单词而不是用相同的字符替换其他单词
1 回答
如何替换字符串中的单个字符?
6 回答