This solution includes a code snippet to add before you import any modules from Pyside2 or PyQt5 package. I have found a solution that worked for me. Setting the QT_PLUGIN_PATH to the directory containing TexWorks' Qt DLLs (here C:\Users\chris\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\圆4) fixed the problem for both programs. Look for the Anaconda directory and set the Library\plugins subdir (here c:\ProgramData\Anaconda3\Library\plugins) as environment variable QT_PLUGIN_PATH under Control Panel / System / Advanced System Settings / Environment Variables.Īfter setting the variable you might need to restart P圜harm, if the change does not have an immediate effect.Įven though after that the command line Python worked, TexWorks (which uses Qt as well) displayed an error message very much like it. Reinstalling the application may fix this problem. When I tried to run a simple program that uses matplotlib, I got this error message: This application failed to start because it could not find or load the Qt platform plugin "windows" I had the same problem with Anaconda3 4.2.0 and 4.3.0.1 (64-bit).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |