Comments (5)
Appears to be caused by this change introduced in Python 3.8:
DLL dependencies for extension modules and DLLs loaded with ctypes on Windows are now resolved more securely. Only the system paths, the directory containing the DLL or PYD file, and directories added with add_dll_directory() are searched for load-time dependencies. Specifically, PATH and the current working directory are no longer used, and modifications to these will no longer have any effect on normal DLL resolution. If your application relies on these mechanisms, you should check for add_dll_directory() and if it exists, use it to add your DLLs directory while loading your library. Note that Windows 7 users will need to ensure that Windows Update KB2533623 has been installed (this is also verified by the installer). (Contributed by Steve Dower in bpo-36085.)
from dhmqc.
Strangely enough, this only seems to affect libdelaunator.dll
, not the other DLLs in that directory.
from dhmqc.
Sigh... This error seems to be another case of misleading "missing DLL" messages on Windows.
Unlike the other DLLs in its directory, libdelaunator.dll
currently has dependencies on DLLs for MinGW's C and C++ standard libraries.
The error message masks the actual error, which is failure to resolve those MinGW DLLs (on my machine, libgcc_s_seh-1.dll
and libstdc++-6.dll
) under Python 3.8's stricter rules.
As a workaround for now, DHMQC can be installed in an Conda environment with Python pinned to 3.7 (add python=3.7
to the packages to install).
from dhmqc.
Behaviour regarding the misleading error message reported to Python's issue tracker here: https://bugs.python.org/issue39393
from dhmqc.
It seems only Python 3.8 (and not 3.9+) is fussy about DLL paths here, so I'm going to take the easy way out and support only 3.9 and 3.10 😄
from dhmqc.
Related Issues (16)
- Use logging module instead of print()
- Figure out why triangle fails when triangulating very large pointclouds (> 45M)
- Make use of proper configuration files (JSON) instead of variables in a python script
- dem_gem: Add "model-coverage" argument to script
- set_lake_z overhaul
- Find a suitable replacement for Triangle HOT 3
- Create a proper python installer
- Migrate test_suite.py to unittest, pytest, nosetest or something equivalent
- gridsize generalization HOT 1
- Delaunay triangulation makes excessive copies of data HOT 1
- qc_wrap deadlocks with slow tile databases
- time.clock() HOT 1
- Import error on Linux HOT 2
- z_accuracy_gcp fails after Python 3/Conda migration
- Migrate to laspy 2.x HOT 2
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 dhmqc.