Python 2.6 安装wxPython后提示"64.....32"错误解决办法
2017-08-26 18:29
531 查看
p.p1 { margin: 0.0px 0.0px 10.0px 0.0px; line-height: 20.0px; font: 14.0px "PingFang SC" }
li.li2 { margin: 0.0px 0.0px 0.0px 0.0px; line-height: 20.0px; font: 14.0px "PingFang SC" }
span.s1 { }
span.s2 { text-decoration: underline; color: #042eee }
ol.ol1 { list-style-type: decimal }
ImportError: /usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core_.so: no appropriate 64-bit architecture (see “man Python” for running in 32-bit mode)
要解决这个问题,只需要在 ~/.bash_profile 加入一行代码就行:
export VERSIONER_PYTHON_PREFER_32_BIT=yes
另外一种解决方案是执行以下命令:
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
li.li2 { margin: 0.0px 0.0px 0.0px 0.0px; line-height: 20.0px; font: 14.0px "PingFang SC" }
span.s1 { }
span.s2 { text-decoration: underline; color: #042eee }
ol.ol1 { list-style-type: decimal }
ImportError: /usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core_.so: no appropriate 64-bit architecture (see “man Python” for running in 32-bit mode)
要解决这个问题,只需要在 ~/.bash_profile 加入一行代码就行:
export VERSIONER_PYTHON_PREFER_32_BIT=yes
另外一种解决方案是执行以下命令:
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
相关文章推荐
- Python 2.6 安装wxPython后提示"64.....32"错误解决办法
- 关于出现错误:_tkinter.TclError: couldn't open "E:\Python系列\Python程序\Python安装.gif"tkinter中不能打开GIF格式图片的解决办法
- python2 安装scrapy出现错误提示解决办法~
- python2 安装scrapy出现错误提示解决办法~
- MS SQL 2000安装错误提示及解决办法
- Oracle10g安装过程中"无法确定主机的IP地址时产生该异常错误" :解决办法
- 在 64 位计算机上安装 32 位版本的 ASP.NET 2.0 时,将不安装 ASP.NET 状态服务 解决办法
- 几种程序安装时有错误提示的解决办法
- 安装SQL Server 遇到错误提示时的解决办法
- Adobe flashplayer安装失败 提示19166错误解决办法
- Oracle10g安装过程中"无法确定主机的IP地址时产生该异常错误" :解决办法
- Win7安装错误提示与解决办法大全
- 安装Matlab提示映像错误 解决办法
- 启动"Start SoftICE"提示的错误Errror code 31的解决办法
- 在openSUSE上安装完vsFTP以后,提示 .... anonymous 错误的解决办法
- VS.NET在生成安装和部署项目时收到"不可恢复的致命错误"的解决办法
- 手机程序安装时几种有错误提示的解决办法
- 安装SQL Server 2000 提示文件挂起错误解决办法
- Oracle11g安装过程中"无法确定主机的IP地址时产生该异常错误" :解决办法
- freebsd8.0安装nvidia驱动出现"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"错误,解决办法