[英]Windows7 64-bit, Pyside6, PyQt6, ImportError: DLL load failed while importing QtCore: The specified procedure could not be found
[英]Pyside: Unresolved Functions error messages on windows7
我试图运行一个用PySide模块用python编写的简单程序来截取网站的屏幕截图。 我正在具有OpenSSL(已安装)的Windows 7上运行此程序。
我收到以下错误:
QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
我绝不相信此解决方案,因为我做了一个简单的Google搜索并遇到了http://codeblog.vurdalakov.net/2009/11/solution-qsslsocket-cannot-call.html
我相信由于库中的更改,错误会有所不同。
问题
当您尝试使用QSslSocket
或QNetworkAccessManager
类打开HTTPS URL时, QSslSocket
以下错误:
QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function ERR_error_string
解
您需要安装OpenSSL Win32或Win64二进制文件。
libeay32.dll
和ssleay32.dll
复制到QtNetwork4.dll
或QtNetworkd4.dll
所在的位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.