I am trying to wade through my errors with PyInstaller and was doing a decent job until I ran across this error.
ModuleNotFoundError: No module named 'concurrent.futures._base'
[15692] Failed to execute script run
I had seen that kind of error before but adding paths to my spec file seemed to work. But not in this case.
When I looked at the warn-run.txt file I saw this message as well
invalid module named concurrent.futures._base - imported by concurrent.futures (top-level), concurrent.futures.thread (top-level), concurrent.futures.process (top-level), C:\Users\suppo\Documents\Technology\Programming\Python\Projects\WikiExporter\run.py (top-level)
I assume this is the cause of my ModuleNotFoundError. I have tried adding to my hiddenimports spec entry as follows: hiddenimports=['concurrent.futures']. But that did not change the message. Adding log-level=DEBUG also did not yield any info.
I have attached my warn-run.txt file.. The full error message is below.
File "run.py", line 1, in <module>
File "c:\pythons\python3.7\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "WikiExporter\RESOMain.py", line 9, in <module>
from WikiExporter.ddwiki_exporter import DDWikiExporter, EXPGeneratedError
File "c:\pythons\python3.7\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "WikiExporter\ddwiki_exporter.py", line 10, in <module>
from WikiExporter.confluence_to_xml import DDWikiConfluenceToXML, CTXGeneratedError
File "c:\pythons\python3.7\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "WikiExporter\confluence_to_xml.py", line 7, in <module>
from WikiExporter.confluence_api_wrapper import ConfluenceConnection, CAWGeneratedError
File "c:\pythons\python3.7\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "WikiExporter\confluence_api_wrapper.py", line 6, in <module>
from PythonConfluenceAPI import ConfluenceAPI # PythonConfluenceAPI: https://goo.gl/C1Ce6t
File "c:\pythons\python3.7\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\PythonConfluenceAPI\__init__.py", line 12, in <module>
File "c:\pythons\python3.7\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\PythonConfluenceAPI\cfapi.py", line 9, in <module>
File "c:\pythons\python3.7\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\requests_futures\sessions.py", line 23, in <module>
File "c:\pythons\python3.7\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\concurrent\futures\__init__.py", line 8, in <module>
ModuleNotFoundError: No module named 'concurrent.futures._base'
[15692] Failed to execute script run
Can someone give me some hints of where I go from here?