ModuleNotFoundError: No module named 'fbs_runtime'

Heads up! You've already completed this tutorial.

Bruce_DeSimas | 2020-05-11 10:53:19 UTC | #1

Great tutorial. I tried to run the bare-bones main.py from the tutorial in the Spyder 4.0.1 IDE, and when I try to debug the main.py, I am getting errors, here is the console output:

python
runfile('/Users/vuser/Documents/src/main/python/tutorial.py', wdir='/Users/vuser/Documents/src/main/python')
Traceback (most recent call last):

File "/Users/vuser/Documents/src/main/python/tutorial.py", line 10, in <module>
from fbs_runtime.application_context import ApplicationContext

ModuleNotFoundError: No module named 'fbs_runtime'

Any ideas?

Does your book have a section on using Qt Designer? I've used the Qt Designer for cross-platform C++ apps, it works great. Considering the quality of this article, the book should be excellent, I'll plan to get a copy.


Create GUI Applications with Python & Qt5 by Martin Fitzpatrick — (PyQt5 Edition) The hands-on guide to making apps with Python — Over 10,000 copies sold!

More info Get the book

Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak
Martin Fitzpatrick

ModuleNotFoundError: No module named 'fbs_runtime' was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt. Martin founded PythonGUIs to provide easy to follow GUI programming tutorials to the Python community. He has written a number of popular Python books on the subject.