ok, my problem is fixed (*but not with an elegant solution*).  Testing 
modules individually had PyInstaller working  .. however, together as a 
total package I was getting errors as listed.  Digging into this deeper 
there seemed to be a namespace issue on how one module was setup.  I worked 
around by just not using that module in error.

On Wednesday, July 10, 2019 at 2:08:17 AM UTC-7, Robert Gottesman wrote:
>
> Forgot to mention, I am running the newest version (3.5) on Windows 10.
>
>
> On Sunday, July 7, 2019 at 11:54:43 PM UTC-7, Robert Gottesman wrote:
>>
>> 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?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/9f7c0b8a-7769-46f1-a75b-08870511d9df%40googlegroups.com.

Reply via email to