robotframework启动ride失败,提示wxpython ImportError: DLL load failed: 找不到指定的模块
背景:按照rf的操作,安装是没有问题,就是在启动ride.py 这个文件,就有问题了,提示
wxpython ImportError: DLL load failed: 找不到指定的模块
在python 中使用:import wx 也提示导入包失败,不识别,原因就在于我的操作系统是win10,下面这个博主解决了我的问题
以下内容来源:
https://blog.csdn.net/weizhixiang/article/details/51132133
import wx
出现以下问题:
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32
>>> import wx
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "D:\Program Files (x86)\JetBrains\PyCharm 2016.1\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "D:\Program Files\Python\lib\site-packages\wx\__init__.py", line 17, in <module>
from wx.core import *
我是win10 64位系统,原因是安装了Visual C++ Redistributable for Visual Studio 2015 x86版本
下载安装x64版本就好了
一定要注意python3.5以上好的库都是msvc2015的版本
下载地址:https://www.microsoft.com/en-us/download/details.aspx?id=48145
python3版本的wxpython下载地址:http://wxpython.org/Phoenix/snapshot-builds/
相关文章
- 解决robotframework安装时提示wxPython not found问题
- pip install fails with “connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)”
- dockerd -D启动docker服务时报错”Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o docker0 -m conntrack iptables: No chain/target/match by that name”
- 执行buildman --fetch-arch arm提示"urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>"如何处理?
- vscode cmake 插件 Acquisition Failed: Installation failed: Error: .NET installation timed out
- PySe-016-Requests 访问 HTTPS 网站报错解决方法:SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)
- 使用wxpython开发windows界面
- python (3):wxPython打包app,报错
- ubuntu 下面 安装 python wxPython
- 使用wxpython编写一个网易云音乐爬虫程序
- 关于wxPython与wxFormBuilder
- ComposerDownloaderTransportException ... Failed to enable crypto,failed to open stream: operation failed