2
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module
  File "kivy\__init__.py", line 297, in <module>

AttributeError: 'NoneType' object has no attribute 'load_module'

The Following line from kivy\__init__.py :

mod = importer.find_module(modname).load_module(modname)

How to fix that?

yoav s
  • 23
  • 4
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Sep 09 '21 at 21:05

1 Answers1

1

This means

importer.find_module(modname)

returns nothing.
Applying .find_module(modname) on importer object gave no result.

Unused hero
  • 307
  • 1
  • 9