PySide2 Error: This application failed to start because no Qt platform plugin could be initialized
Add at the first:
import sys,os
import PySide2
dirname = os.path.dirname(PySide2.__file__)
plugin_path = os.path.join(dirname, 'plugins', 'platforms')
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = plugin_path
Read More:
- [Solved] The application could not be installed: INSTALL_FAILED_NO_MATCHING_ABIS
- [Solved] Springboot project Create to start Error: APPLICATION FAILED TO START
- [Solved] Failed to apply plugin ‘com.android.internal.application‘.
- How to Solve Application failed to start error
- [Solved] PluginlibFactory: The plugin for class ‘rviz_imu_plugin/IMU‘ failed to load.
- An error was reported when Maven package was running the packaged jar package: there is no main list attribute in xxx.jar, which can be solved by configuring Maven plugin
- Rtabmap Run Error: PluginlibFactory: The plugin for class ‘octomap_rviz_plugin/ColorOccupancyGrid‘ failed t
- [Solved] Phone Debug Program Error: The application could not be installed: INSTALL_FAILED_TEST_ONLY
- The application could not be installed: INSTALL_FAILED_USER_RESTRICTED
- [Solved] Android12 Download Error: The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- Springboot package error: failed to execute goal org.apache.maven.plugins:maven-resources-plugin: 3.2.0…
- [Solved] Android Studio 4 Error: The application could not be installed: INSTALL_FAILED_OLDER_SDK
- [Solved] integrated swagger Start Error: Failed to start bean ‘documentationPluginsBootstrapper‘;
- [Solved] org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin
- [Solved] Qt Error: qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
- [Solved] Android Studio Start Error: Missing essential plugin: org.jetbrains.android Please reinstall Android
- [Solved] Linux Start jar Error: nohup: failed to run command ‘java‘: No such file or directory
- [Solved] Failed to apply plugin appears when Android studio imports a project
- Spark-shell startup error: Yarn application has already ended! It might have been killed or unable to launch application master
- [SteamVR] Not Initialized (109) Error [How to Solve]