Support #2284

Windows: python error when trying to plot.

Added by juan over 1 year ago. Updated over 1 year ago.

Status:NewStart date:14 Jan 2019
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


After installing BornAgain-1.14.0 in Windows and running one of the reflectometry examples,


the following error message is thrown:

This application failed to start because it could not find or load the Qt platform plugin "windows"
in "".

Available platform plugins are: minimal, offscreen, windows.

Reinstalling the application may fix this problem.

The problem is solved (if this can be called a solution) by adding the following environment variable:


More info on the system in which it was tested:
-Windows 10
-BornAgain-1.14.0 for python 3.6
-Python 3.6 - Anaconda

Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path


#1 Updated by juan over 1 year ago

Specifically, the problem is found in line 60 of the aforementioned example:


Also available in: Atom PDF