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.

Can't run electrum 4.2.0 on Windows 7 (api-ms-win-core-path-l1-1-0.dll is missing from your computer)

See original GitHub issue

When I start electrum-4.2.0.exe on Windows 7 I get this error: The program can't start because api-ms-win-core-path-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem. According to this, the problem is related to python 3.9, it doesn’t support Windows 7. Readme file for electrum contains Language: Python (>= 3.8), therefore, it should be possible to build electrum for Windows 7 with Python 3.8. Could you please build the latest electrum with Python 3.8?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
SomberNightcommented, Mar 24, 2022

Possible ways to fix:

  • bundle pre-built Python 3.8.10 from python.org ❌ we would be missing out on later 3.8.x security fixes
  • build the “hacky” api-ms-win-core-path-l1-1-0.dll ourselves (as part of the build scripts) and include it in the binary
    • not sure how future-proof this would be… but currently the lack of this dll looks to be the only reason why Python 3.9 cannot run on Win7
    • note that I’ve tested simply including the dll provided by Wine, and that does not work
  • cross-compile the msys2 python using mingw, as in https://github.com/spesmilo/electrum/issues/6565
    • this could be a long-term win regardless of Win7 support, as we would no longer need to trust the python.org binary

Note that any approach would require being able to build reproducible binaries (as is already the case), and we heavily dislike bundling pre-built binaries.


Considering that

  • Win7 itself is no longer receiving security fixes,
  • there does not seem to be an easy way to keep supporting Win7,
  • I am still a bit doubtful there are a lot of Win7 users out there,

my decision for now is to drop support for Windows 7.

If someone comes along and starts contributing towards supporting Windows 7, then we could potentially reintroduce support, however as it stands we don’t have time to do it ourselves.

Existing Win7 users can keep using Electrum 4.1.5 for the time being – but they should consider upgrading or changing their OS.

0reactions
BeholdersEyecommented, Sep 10, 2022
* build the ["hacky" `api-ms-win-core-path-l1-1-0.dll`](https://github.com/nalexandru/api-ms-win-core-path-HACK) ourselves (as part of the build scripts) and include it in the binary

You might consider including the dll in the portable version, at least, since that would significantly increase its portability (likely a reason some people use the portable version).

* I am still a bit doubtful there are a lot of Win7 users out there,

Even now it represents 10% of Windows installs.

https://gs.statcounter.com/os-version-market-share/windows/desktop/worldwide

Existing Win7 users can keep using Electrum 4.1.5 for the time being

That is an ominous “for the time being”. I’m a happy user of Electrum on Linux so it’s no skin off my own nose but I would like to be able to recommend Electrum to my friends without saying “The first step is back up all your files before we install a new operating system…” and in any case it should not be necessary to replace the host operating system to use “portable” software.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electrum 4.2.0 strange dll errors - Bitcoin Talk
The programm cant start because api-ms-win-core-path-I1-1-0.dll is missing from your computer. try reinstalling to fix this problem. Than after ...
Read more >
Program can't start because api-ms-win-core-path - Reddit
dll is missing from your computer”. I've reinstalled it multiple times but the same thing comes up help!!!
Read more >
MSVCR110.dll is missing from windows7 64bit.
MSVCR110.dll is missing from computer so I can't download windows essentials 2012. I keep getting 0x80040609 error code and also Source soxe.
Read more >
Latest release: Electrum-4.3.2
Latest release: Electrum-4.3.2. Release notes - Previous releases. Our executables are reproducible, and are signed independently by several builders.
Read more >
Frequently Asked Questions - Bitcoin Electrum
Trusted Coin only signs transactions if you provide it with the correct 2fa code from your phone. This way if your computer is...
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