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.


Packaging Python Applications with PyInstaller by Martin Fitzpatrick — This step-by-step guide walks you through packaging your own Python applications from simple examples to complete installers and signed executables.

More info Get the book

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

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.