PyOsmium script hangs indefinitely on Windows
After installing Osmium and running a script using PyOsmium on Windows, the execution never terminates. The script runs but does not exit as expected.
**Steps to reproduce:**
1. Install PyOsmium in a standard library virtual environment (venv)
2. Run the following example from the documentation:
```py
import osmium
for obj in osmium.FileProcessor('test.osm'):
print(obj)
```
**Expected behavior**
The script should process the input file, print the result and exit.
**Actual behavior**
The script prints the result and does not terminate.
----
OS: Windows 10 22H2 (build 19045.5371)
Python version: 3.12.8
PyOsmium version: 4.0.2
Installation method: Installed via pip in a standard venv
关闭于 2025-12-24 16 条评论