Error display
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: direct2d, minimal, offscreen, windows.
Solution:
1. Install pyside2
pip install -U pyside2
2. Find Lib\site-packages\PySide2\__init__.py in the root directory of python
3. Add the following codes:
dirname = os.path.dirname(__file__)
plugin_path = os.path.join(dirname, 'plugins', 'platforms')
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = plugin_path
Read More:
- Python: How to Create an Automatic Recording Program
- Python PIP Fatal error in launcher: Unable to create process using ‘“e:\program files\programdata
- How to Solve Python Importerror: DLL load failed: unable to find the specified program using tensorflow
- Invalid python sd, Fatal Python error: init_fs_encoding: failed to get the Python cod [How to Solve]
- Python3 Fatal error in launcher: Unable to create process using ‘”‘
- Failed to Create New Environment Error: Collecting package metadata (current_repodata.json): failed.
- [Solved] PyCharm Failed to Start Error: failed to create jvm.jvm path…
- Jupyter notebook Failed to Switch to the Virual Environment: DLL load failed python.exe could not find the entry
- [Solved] Failed environment install leads to “unable to create process using“ error
- How to Solve Python WARNING: Ignoring invalid distribution -ip (e:\python\python_dowmload\lib\site-packages)
- [Solved] opencv-python: recipe for target ‘modules/python3/CMakeFiles/opencv_python3.dir/all‘ failed
- [Solved] wxauto error: ImportError: DLL load failed while importing win32gui: Can’t find the specified program
- Python Error: pip install mysql-connector-python failed
- Import win32API; importerror: DLL load failed: the specified program was not found
- Importerror: DLL load failed: unable to find the specified module in Python
- Python Error: Failed to establish a new connection: [Errno -2] Name or service not known
- import statsmodels.api as sm Error: ImportError: DLL load failed while importing _arpack: The specified program could not be found.
- [Solved] NPM install Error: check python checking for Python executable python2 in the PATH
- Python Error: [9880] failed to execute script [How to Solve]
- Pychar can’t connect to Python console, but it can run. Py file, and Anaconda’s command line can run Python command