mac电脑安装wxPython2.8.12.1不成功怎么办,报错:Could not find a version that satisfies the requirement 2.8.12.1 (f
来源:互联网 发布:淘宝节点处罚考试答案 编辑:程序博客网 时间:2024/06/12 20:39
目的:robotframe-ride用于接口测试
遇到的问题:
1.mac终端pip安装robotframework-ride后
pip install robotframework-ride
(pip不行的话尝试sudo easy_install )
启动ride.py报:
wxPython not found.
You need to install wxPython 2.8.12.1 with unicode support to run RIDE.
2.于是pip安装wxPython 2.8.12.1
报:
解决:
根据提示和老师指导,
1.到该网址去下载 wxPython 2.8.12.1。
http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
2.下载该版本
3.下载后双击解压
4.点击安装包,右键选择:显示包内容
5.打开Contents/Resources/
6.双击解压该文件wxPython2.8-osx-unicode-universal-py2.7.pax.gz
将解压文件中的usr/local的lib文件复制到系统usr/local中
其是个隐藏文件。打开方式:
Mac下/usr/local目录默认是对于Finder是隐藏,如果需要到/usr/local下去,打开Finder,然后使用command+shift+G,在弹出的目录中填写/usr/local就可以了。
7.将第6步中的 postflight复制到桌面,cd到post flight所在的目录,运行命令
sudo ./postflight
8.尔后运行ride.py,会提示python驱动是32位的.
python should be executed in 32-bit mode with wxPython on OSX.
因为我们安装的是64位的
所以需要强制执行为32位
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
9.再次启动ride.py成功
- mac电脑安装wxPython2.8.12.1不成功怎么办,报错:Could not find a version that satisfies the requirement 2.8.12.1 (f
- mac 安装 tensorflow 提示 Could not find a version that satisfies the requirement
- 用pip安装pymongo模块报错:Could not find a version that satisfies the requirement pymongo(from version:)
- 用pip安装pymongo模块报错:Could not find a version that satisfies the requirement pymongo(from version:)
- 安装PIL报错Could not find a version that satisfies the requirement PIL (from versions: )的解决办法
- Python安装PIL遇到‘Could not find a version that satisfies the requirement PIL’
- python环境选择和安装,解决could not find a version that satisfies the requirement tensorflow
- 安装j2ee 报错 Could not find the required version of the Java(TM)2 Runtime Environment in '(null)'
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment i
- J2EE SDK安装报错could not find the required version of the Java(TM)2 Runtime Environment in '(null)'
- java安装好后第二天又报could not find the version jre
- centos 6 python3 安装 Collecting Twisted>=13.1.0 (from Scrapy) Could not find a version that satisf
- Android Studio项目运行后Gradle报错Could not find any version that matches com.android.support:support-v4
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- [leetcode]: 20. Valid Parentheses
- PHP中常用的字符串函数
- 电商后台系统:管理后台篇之库存管理
- 【Linux】七个运行级别
- pandas&pandas学习教程&DataFrame与Series数据结构
- mac电脑安装wxPython2.8.12.1不成功怎么办,报错:Could not find a version that satisfies the requirement 2.8.12.1 (f
- 浏览器禁用cookie后php如何保持session会话-use_trans_sid机制
- HDU2709Sumsets整数分解为加数,递推公式
- 直接插入排序
- Akka(5): ConsistentHashing Router
- Unty5.x里Assetbundle的自动标记和打包
- 使用对象:GPS信号处理
- matlab中几个取整语句的区别
- PHP之浅谈cookie和session