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.

Installation failed on Windows 10

See original GitHub issue

I installed TDL on Windows 10 by running pip install tdl from an elevated (administrator) command-prompt. This is necessary because I installed for all users, and presumably my current user doesn’t have access to change C:\ProgramFiles\WhereverPythonLives.

After that, when I execute import tdl from Python 3.6.4, I get this error:

File "C:\Users\me\Code\furusiya\furusiya\io\adapters\tdl_adapter.py", line 2, in <module>
    import tdl
  File "C:\Program Files (x86)\Python36-32\lib\site-packages\tdl\__init__.py", line 65, in <module>
    from tcod import ffi as _ffi
  File "C:\Program Files (x86)\Python36-32\lib\site-packages\tcod\__init__.py", line 20, in <module>
    from tcod.libtcodpy import *
  File "C:\Program Files (x86)\Python36-32\lib\site-packages\tcod\libtcodpy.py", line 10, in <module>
    from tcod.libtcod import *
  File "C:\Program Files (x86)\Python36-32\lib\site-packages\tcod\libtcod.py", line 87, in <module>
    from tcod._libtcod import lib, ffi
ImportError: DLL load failed: The specified module could not be found.

Any idea what I’m doing wrong? I have a fresh install of Python 3.6.4, I didn’t install anything other than TDL yet.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
HexDecimalcommented, Jan 2, 2018

I guess you might need the Visual C++ Redistributables, I thought they were included in Python, but I must have been wrong.

0reactions
nightblade9commented, Jan 2, 2018

I installed the 2017 64-bit distributable from here (found via Google) and it works now.

Thanks so much for your help with this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Windows 10 Installation Has Failed - Driver Easy
[SOLVED] Windows 10 Installation Has Failed · Try these fixes… · Fix 1: Remove the peripheral devices · Fix 2: Clear an attribute...
Read more >
4 Solutions to Fix Windows 10/11 Installation Has Failed
4 Solutions to Fix the "Windows 10/11 installation has failed" Error · Solution 1: Run a Clean Boot Installation · Solution 2: Create...
Read more >
How to Fix "Windows 10 Installation has Failed" Error? - Appuals
One potential reason you might see the error message “Windows 10 Installation has Failed” is if a key system dependency, process, or service...
Read more >
Windows 10 Installation Has Failed [Easily FIXED]
How do I fix Windows 10 installation failed? · 1. Unplug all peripheral devices · 2. Uninstall the language pack · 3. Uninstall...
Read more >
[SOLVED] Windows 10 Could Not Complete the Installation + ...
Case 2: Windows 10 Installation Has Failed · Fix 1. Check Whether Your Computer Meets the Minimum Requirements · Fix 2. Clear Certain...
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