zoukankan      html  css  js  c++  java
  • Python 2.6 安装wxPython后提示"64.....32"错误解决办法

    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 

  • 相关阅读:
    Django入门
    初识json
    回来了
    python学习
    JavaScript 中获取元素样式
    浏览器检测与特征检测
    DOM 节点的类型及判定
    浏览器的控制台工具
    .htaccess 配置文件的使用
    workLog:07001:补充0829 前
  • 原文地址:https://www.cnblogs.com/lianghe01/p/7436068.html
Copyright © 2011-2022 走看看