Breaking News
Qt Platform Plugin Windows Install
воскресенье 20 января admin 42
Hello Patricia, I request you to refer the following article: Reinstalling Windows 10 after upgrade Disclaimer: Using Third Party Software, including hardware drivers can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the use of Third Party Software can be solved. Using Third Party Software is at your own risk. I hope this helps you. If you have any further queries, feel free to contact us. We will be happy to help you.
May 27, 2017 - Application failed to start because platform plugin “windows” is missing #59. The office season 6 date. Fine on 32-bit win7 (clean win installation in VM, no previous software). To start because it could not find or load the Qt platform plugin 'windows'.
This application failed to start because it could not find or load the Qt platfo rm plugin 'windows '. Available platform plugins are: minimal (from C: Python27 lib site-packages PyQt 5 plugins platforms), offscreen (from C: Python27 lib site-packages PyQt5 plugin s platforms), windows (from C: Python27 lib site-packages PyQt5 plugins platform s). Reinstalling the application may fix this problem.
Having encountered the problem in the past, I could solve it by appending the plugins by hand like this. Import os import sys import PyQt5 dirname = os.path.dirname(PyQt5. __file__) plugin_path = os.path.join(dirname, 'plugins ', 'platforms ') os.environ[ 'QT_QPA_PLATFORM_PLUGIN_PATH '] = plugin_path from PyQt5 import QtWidgets app = QtWidgets.QApplication(sys.argv) However this produces the same error. The odd thing is that it says it can't load the plugin, and then lists the plugin as one of the available ones.
Maybe a permission issue? Yet permissions on the files are unlocked and even replacing it with the source original from the Qt installation yields the same results. Removing the plugin from the directory correctly removes it from plugins found. Depends.exe Running depends on qwindows.dll yields a few interesting results. However each of these are available directly within the PyQt5 Python package directory.
It works If keeping the original installation of Qt on the PATH, PyQt5 seems to work. From a terminal. Seems to work now. Here are the changes: • Compiled using Qt 5.3.1 rather than 5.3.2 as • Binaries was coming from the Python 3 binaries supplied via but are now coming directly from the Qt distribution. • __init__.py now initialises PATH and QT_QPA_PLATFORM_PLUGIN_PATH Platform plug-ins The Riverbank distribution ships with a qt.conf which initialises the PATH and platform plugin path, this release instead initialises these via the __init__.py so as to not need to provide the qt.conf file.
Pre-requisities To run this VS2013 compiled release of PyQt5, you'll need the. Okay, I am using PyCharm, but I am using Python27's python.exe (checked using your code). I think I have the problem. I was running python -c 'import util;util.createqtconf()' from the downloaded directory, so all of the path information was pointing to Downloads python-qt5, instead of the one in site-packages.
I am not sure about the qt.conf. It currently is pointing to Lib site-packages PyQt5. So having the install directory solved this issue, but raised another, it is trying to find my QtQml dll in my downloads (which doesn't exist). EDIT: And none of the potential answers have done anything.