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.

Error loading Python DLL on Windows

See original GitHub issue

I can’t run mitmdump 0.18.1 and 0.18.2, but 0.17 works fine.

Steps to reproduce the problem:
  1. Download binaries for windows
  2. Run .\mitmdump.exe --help or .\mitmdump.exe --sysinfo
  3. Output: Error loading Python DLL: C:\Users\shmyg\AppData\Local\Temp\_MEI16602\python35.dll (error code 126). There is no folder C:\Users\shmyg\AppData\Local\Temp_MEI16602 at all.
System information

Pretty fresh Windows 10 without antivirus in a virtual machine. No Python is installed.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
kennytmcommented, Feb 8, 2017

This looks like a pyinstaller problem or misconfiguration (pyinstaller/pyinstaller#1566).

You can workaround the issue by asking user to install the VC 2015 runtime (x86).

0reactions
mhilscommented, Jan 23, 2017

I can’t reproduce this, sorry - http://stackoverflow.com/a/14362289/934719 has debugging instructions for someone who can.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Loading Python DLL: Resolved in 4 Easy Steps
How can I fix the error loading Python DLL? ; Copy the configuration parameters to the top of the file. Save changes. ;...
Read more >
Pyinstaller can't find a module? (error loading Python DLL)
Ok, it was not working because I compiled the script with pyinstaller having python 3.10, but Windows 7's maximum python version is 3.8....
Read more >
Google Drive Error Code 5 – Error Loading Python DLL
How to Solve Error Loading Python DLL on Windows ; #1. Run the executable file (GoogleDriveSync.exe) with admin access. Open Windows Explorer ( ......
Read more >
Error loading Python DLL? Try these simple solutions - Galeon
Error loading Python DLL? Try these simple solutions · 1. remove the temporary folder. Open the file explorer and navigate to the following ......
Read more >
PyInstaller error loading Python DLL when running executable ...
PyInstaller doesn't support Windows 7 anymore. However, the issue is probably due the fact that the Python DLL is incompatible with Windows 7....
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