Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading Python DLL #3171

Closed
ElecM8 opened this issue Nov 2, 2017 · 21 comments
Closed

Error loading Python DLL #3171

ElecM8 opened this issue Nov 2, 2017 · 21 comments

Comments

@ElecM8
Copy link

ElecM8 commented Nov 2, 2017

Just updated to the version 3.0 and I got this error after starting Electrum.
Does anyone know how to fix that? Tried reinstalling and restarting, but after quickly looking on google the only result I found is this github issue, which doesn't help me much...
Edit: Windows 7 x64, in case that matters.

Electrum

@SomberNight
Copy link
Member

SomberNight commented Nov 2, 2017

So I take it you've used the "Windows Installer" exe?
What version of Windows? (EDIT: oops. just saw your edit. :P)
Trying to reproduce.

@ElecM8
Copy link
Author

ElecM8 commented Nov 2, 2017

So I take it you've used the "Windows Installer" exe?

Yeah. I did try the standalone version though, same issue.

@SomberNight
Copy link
Member

Ok. I can reproduce on Win7 x64 [Version 6.1.7601], with all three Windows binaries.

@keystrike
Copy link

keystrike commented Nov 2, 2017

Reproduced on Windows 8.1 x64 [6.3.9600] with standalone and "Windows installer" exe.

The fatal error message is different, "LoadLibrary: Invalid access to memory location."

@SomberNight
Copy link
Member

Correct behaviour / can't reproduce on:

  • Windows 10 x64 [Version 10.0.14393]
  • Windows 10 x64 [Version 10.0.15063]

@trotskylenin
Copy link

Same issue here on Windows 7 Ultimate x64 SP1 with Standalone Executable and Installer.
python_dll_error

@RattitudeMining
Copy link

I am also getting the same problem when updating.
Tried installing a-new on two other Windows 7 Pro SP1 machines and the same thing happens.
Though I have rolled back to 2.9.3... I don't like not-seeing my coin; creepy.
I have not tried sending anything... I'm too scared to even move.
Error messages are aggravating... but here is mine: https://www.screencast.com/t/ZluA5TrmL

Hopefully a fix will be in soon, likely a problem with Win7/8 OS issue.

@ebliever
Copy link

ebliever commented Nov 2, 2017

I'm having the same issue on Win7 64b, also installed over 2.9.3.

@amarett0
Copy link

amarett0 commented Nov 2, 2017

I have the same problem

@underhood
Copy link

Issue confirmed here as well.... Win 7 64 bit.... same issue for installer and standalone exe.

Error loading Python DLL
'C:\Users\Myusername\AppData\Local\Temp_MEI49562\python35.dll'. LoadLibrary: An attempt to set the process default activation context failed because the process default activation context was already set.

@Kalumets
Copy link

Kalumets commented Nov 2, 2017

Same here on Win 7 64bit

@blais1064
Copy link

Having the same issue Win 7 64 bit, I tried what is recommended in hotfix referenced above but getting same Errors

@SomberNight
Copy link
Member

@blais1064 of course you're getting the same errors. That is a pull request... The instructions for end-users there are only relevant with that change merged into the code, for newly built binaries.

Please don't comment here if you have no new info to add.
To be clear, if you are using Windows 7 or 8.1, we now know 3.0.0 does NOT work for you.

Some related links (for devs):
pyinstaller/pyinstaller#1566 (comment)
https://pyinstaller.readthedocs.io/en/latest/usage.html#platform-specific-notes

@Aragonite
Copy link

Aragonite commented Nov 6, 2017

This raises the question about if Electrum should maintain compatibility with OS that are not even supported by their own creators.

For example, the end of Microsoft Mainstream support for Windows 7 was January 2015. Although, Microsoft will maintain the Extended support for Windows 7 until 2020 (mostly security updates - no bug fixes). For MacOS, El Capitan (10.11) reached the no-support status from Apple last month (with only security update until next fall - 2018). Apple maintains a shorter three years cycle, as all the updates are free.

We have seen issues recently with both of those two operating systems. I guess it is up to the devs generosity to spend time fixing compatibility issues related to obsolete Operating Systems.

@Golddouble
Copy link

Golddouble commented Nov 6, 2017

Same issue here on Windows 7 Starter 32 bit with this version of Electrum:
https://download.electrum.org/3.0/electrum-3.0.0-setup.exe
I made an update from Version 2.9.2

What can I do, to bring it to work? Can I downgrade to Version 2.9.3? Does this work without losing anything? Thank you.

@pdario
Copy link

pdario commented Nov 7, 2017

Fixed for me with v3.0.1!

@ecdsa ecdsa closed this as completed Nov 7, 2017
@ecdsa
Copy link
Member

ecdsa commented Nov 7, 2017

closing this. I added a note on the website, for machines that need a windows update.

@RattitudeMining
Copy link

Update worked for me also, 3.0.1 on a pair of Windows 7 SP1 x64

Note: There is an x64 as we as a x86 version, take care to download the correct version of the Windows Update though are unsure if it makes a difference.

@sangaman
Copy link

sangaman commented Jan 7, 2018

Old issue, but just thought I'd add that I got the same error with 3.0.4 on Windows Vista and installing KB2999226 did the trick. So if anyone is trying to run Electrum on a really old Windows machine they have hope.

@Pathogenius
Copy link

I start electrum after install onto clean Win7 x64, first error electrum throws is it can't find:

"api-ms-win-crt-runtime-l1-1-0.dll"

I learn this is part of "vcredist_x64.exe", so I try to install that, but the installer for it throws an error about certificates and wont install. Obviously this machine wont be going online to update certificates, so I manually copy the api file into electrum folder, then electrum throws the error regarding python36.dll

I decide to forget about trying to run cold wallet, and just go ahead and download electrum on another online machine. Windows smartscreen blocks the download. Good times...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

18 participants