Comments (9)
I guess you might need the Visual C++ Redistributables, I thought they were included in Python, but I must have been wrong.
from python-tcod.
ImportError: DLL load failed: The specified module could not be found.
This error usually means that the SDL2.dll file bundled with tdl wasn't found (should be at site-packages\tcod\x86\SDL2.dll
on your install.)
I wasn't able to reproduce your issue even while replicating your exact environment (fresh install of Python3.6.4-32 for all users, installing tdl via elevated pip prompt.)
from python-tcod.
There seems to be something strange about that particular machine. I can't reproduce it on other Windows VMs.
I'll close this for now and re-open it if it reoccurs on another machine. Sorry about that.
from python-tcod.
I checked that the file is there (it is). I tried granting All Users full access, but the same error repeated. I uninstalled and reinstalled it (granting full access to all users to the Python root installation directory), but I get the same error.
If you have any other ideas, I would like to hear them. I fear this is something generic to my Python installation on Windows 10, rather than a TDL issue (sorry). To be sure, I tried importing the other packages (numpy
, pip
, setuptools
, cffi
, and pycparser
) and I can import them just fine.
I'm going to try uninstalling and installing the 64-bit version of Python instead.
from python-tcod.
Reinstalling the 64-bit version of Python, with the same caveats, resulted in the same behaviour.
Any ideas?
from python-tcod.
I just tested tdl on a real Windows 10 computer and it loaded without issues.
Dependency Walker might give you more specific information on what modules are missing if you run it on tcod\_libtcod.pyd
from python-tcod.
@HexDecimal maybe you can help me validate my installation; how did you install Python, and how did you install TDL?
- From [here], I downloaded the web installer (32-bit and 64-bit both)
- I installed for all users (so it went in
C:\Program Files
or(x86)
- I granted all users full access to the Python install directory
- I ran
python -m pip install tdl
from a non-admin/sudo/elevated prompt to install TDL
from python-tcod.
Looks like a lot of API-MS-WIN-*
transitive dependencies are missing. Here's a very small subset sample from one dependency in Dependency Walker.
from python-tcod.
I installed the 2017 64-bit distributable from here (found via Google) and it works now.
Thanks so much for your help with this!
from python-tcod.
Related Issues (20)
- Not installing from git on python 3.9 anaconda HOT 1
- Can't build wheels from source on MacOS.
- No module named 'tcod._libtcod' when importing tcod HOT 9
- tcod 12.7.2 fails to install on arch linux HOT 5
- Add support to release linux aarch64 wheels
- win stop responding when there is no `tcod.event.get()` HOT 4
- Issue with libtcod importing NDArray from numpy.typing when it should just be importing ndarray from numpy. HOT 3
- Odd behavior when changing cell background color from (x,z,z) to (y,z,z) HOT 4
- TCOD throws a deprecation warning HOT 1
- No event on scrolling with mouse wheel HOT 4
- Request: Support for SDL2's game controller / joystick API HOT 2
- Request: Add access to the Atlas and Tileset used by SDLConsoleRender HOT 4
- Unable to print ascii 127 (del) HOT 2
- Investigate building Python-tcod on Pyodide.
- Refactoring event attributes.
- Add 'order' argument to tcod.noise.grid HOT 3
- TypeError: '_AudioCallbackUserdata' object is not callable HOT 3
- SDL_DestroyTexture called with invalid textures
- SDL failed to get a vertex buffer for this Direct3D 9 rendering batch! HOT 1
- attribute error in python-tcod library HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-tcod.