We’ve recently had to expand the list of Windows DLLs to be collected by 
default. The new ones to look out for are:

   - msvcp140_1.dll 
   - msvcp140_2.dll 
   - vcruntime140_1.dll 
   - vcomp140.dll 

I’d guess that it’s either one of those or one of the tiny win-crt-api.dll 
DLLs.

I’d ditto the suggestion to try using Dependency Walker. Or you can use 
psutil <https://pypi.org/project/psutil/>. Put this at the end of your code:

import psutil
# Get this process i.e. Python.
process = psutil.Process()
# Print all loaded DLLs.for i in process.memory_maps():
    print(i.path)

In either case, there will be a fair amount of sifting through file names 
and guess work required to find the DLL you don’t have.
​
On Saturday, May 22, 2021 at 7:28:56 PM UTC+1 ericfa...@gmail.com wrote:

> Have you ever used the venerable Dependency Walker?  It's ancient, but it 
> still works for me on Win 10, although it sometimes takes 5-10 minutes to 
> start up these days.  Since it's just two files (depends.exe and 
> depends.dll, the .chm is just help so you can ignore it), you can easily 
> put it on a USB stick and run it on one of the affected machines.
>
> https://dependencywalker.com/
>
> On Sat, May 22, 2021 at 7:29 AM <stephen...@gmail.com> wrote:
>
>> Thanks for your fast response. I’m not using Conda, standard python. 
>> Pyinstaller version 4.1.
>>
>> Is there a way to detect what DLL is missing when no error is printed? Or 
>> where should I be comparing the dll’s between working and not working PCs.
>>
>> Cheers,
>>
>>  
>>
>>  
>>
>> *From:* pyins...@googlegroups.com <pyins...@googlegroups.com> *On Behalf 
>> Of *bwoodsend
>> *Sent:* Saturday, 22 May 2021 3:59 AM
>> *To:* PyInstaller <pyins...@googlegroups.com>
>> *Subject:* [PyInstaller] Re: Exe Not working on different PCs
>>
>>  
>>
>> Running on one PC but not another usually translates as missing a DLL 
>> which some PCs have already. Are you using Conda? That's a common culprit. 
>> And what's your PyInstaller version?
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "PyInstaller" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/pyinstaller/A-aqJ8JIpdE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> pyinstaller...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pyinstaller/56c995a7-e415-47cc-a6e6-473d499f5138n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/pyinstaller/56c995a7-e415-47cc-a6e6-473d499f5138n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> -- 
>>
> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pyinstaller/014501d74e93%24aa4d2320%24fee76960%24%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/pyinstaller/014501d74e93%24aa4d2320%24fee76960%24%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/060c8412-7fc9-4877-9cce-2d42f7b1134en%40googlegroups.com.

Reply via email to