python .exe file not work at Windows7

zz 0 Reputation points
2023-06-14T03:45:56.41+00:00

Hello. I'm not good at English and python, so please understand.

I created python .exe file with pyinstaller. My PC is Windows 10 and IDE is visual studio code.

I used python module 'pymssql' to connect Microsort SQL Server.

I wanted to share this .exe file but the file not work at Windows 7.

I checked the file work well at PC with Windows 10.

I think the problem is related to the Windows version and 'dll' but I don't know about 'dll'

How can I share this .exe file to Windows 7? Is pyinstaller impossible at Windows 7?

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 24,476 Reputation points MVP
    2023-06-18T02:14:12.46+00:00

    PyInstaller doesn't support Windows 7 anymore. However, the issue is probably due the fact that the Python DLL is incompatible with Windows 7.

    PyInstaller runs in Windows 8 or newer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.