question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python 3.9 in Meson-0.56.2-64.msi does not work in windows 7

See original GitHub issue

Describe the bug Python 3.9 is not supporting Win7, in particularly python39.dll relies on api-ms-win-core-path-l1-1.0.dll

https://bugs.python.org/issue40740 – similar error https://www.python.org/downloads/windows/ – direct version restriction

The meson-0.56.2-64.msi brings python 3.9 while https://mesonbuild.com/Release-notes-for-0-56-0.html only warning about python 3.6 dependency in next release.

To Reproduce

  • Install meson-0.56.2-64.msi on windows 7.
  • Call from cmd meson

Meson directory structure

Spoiler
C:\Program Files\Meson>tree /F
Структура папок
Серийный номер тома: 4E04-CFAB
C:.
│   base_library.zip
│   libcrypto-1_1.dll
│   libffi-7.dll
│   libssl-1_1.dll
│   meson.exe
│   meson.exe.manifest
│   ninja.EXE
│   pyexpat.pyd
│   python39.dll
│   select.pyd
│   unicodedata.pyd
│   VCRUNTIME140.dll
│   _asyncio.pyd
│   _bz2.pyd
│   _ctypes.pyd
│   _decimal.pyd
│   _elementtree.pyd
│   _hashlib.pyd
│   _lzma.pyd
│   _multiprocessing.pyd
│   _overlapped.pyd
│   _queue.pyd
│   _socket.pyd
│   _ssl.pyd
│   _uuid.pyd
│
└───Include
        pyconfig.h

Output:

C:\Users\WS-0001>meson
Error loading Python DLL 'C:\Program Files\Meson\python39.dll'.

Popup: Безымянный

Expected behavior Successful start of meson.

system parameters Windows 7.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
eli-schwartzcommented, Jan 15, 2021

Sorry, Windows 7 is no longer supported in Python 3.9.

That’s pretty problematic for shipping frozen binaries.

0reactions
eli-schwartzcommented, Feb 28, 2021

#8437 adds a Windows version check to the .msi installer in order to require Windows 10. I’m sorry that this isn’t the solution you want 😉 but this will make the support status clear and users trying to use the .msi on Windows 7 will no longer get confusing DLL errors after they successfully ran the installer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 7 support for Python 3.9 or 3.10, without a fork
Hi, It is well known that Python 3.9 / 3.10 don't work with Windows 7. It is somewhat annoying It would be great...
Read more >
Software based on Python 3.9 is not working on Windows 7
This means that Python 3.9 supports Windows 8.1 and newer. If you require Windows 7 support, please install Python 3.8. You can read...
Read more >
Python 3.9 in Meson-0.56.2-64.msi does not work in windows 7
Python 3.9 in Meson-0.56.2-64.msi does not work in windows 7.
Read more >
Getting Meson
On Windows, if you did not install Python with the installer options that make Python scripts executable, you will have to run python...
Read more >
I get this error when I try to install Python on my windows 7.
At any rate, Python 3.9 and above cannot be used with Windows 7 or earlier, which is what you have. A Service Pack...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found