(labelme_env) PS C:\Users\irema> python --version
Python 3.12.9
(labelme_env) PS C:\Users\irema> python -m pip list
Package Version
------------------ -----------
annotated-types 0.7.0
beautifulsoup4 4.13.3
certifi 2025.1.31
charset-normalizer 3.4.1
click 8.1.8
colorama 0.4.6
coloredlogs 15.0.1
contourpy 1.3.1
cycler 0.12.1
filelock 3.18.0
flatbuffers 25.2.10
fonttools 4.56.0
gdown 5.2.0
humanfriendly 10.0
idna 3.10
imageio 2.37.0
imgviz 1.7.6
kiwisolver 1.4.8
labelme 5.8.0
lazy_loader 0.4
loguru 0.7.3
matplotlib 3.10.1
mpmath 1.3.0
natsort 8.4.0
networkx 3.4.2
numpy 2.2.4
onnxruntime 1.21.0
onnxruntime-gpu 1.21.0
osam 0.2.3
packaging 24.2
pillow 11.1.0
pip 25.0.1
protobuf 6.30.1
pydantic 2.10.6
pydantic_core 2.27.2
pyparsing 3.2.1
PyQt5 5.15.11
PyQt5-Qt5 5.15.2
PyQt5_sip 12.17.0
pyreadline3 3.5.4
PySocks 1.7.1
python-dateutil 2.9.0.post0
PyYAML 6.0.2
QtPy 2.4.3
requests 2.32.3
scikit-image 0.25.2
scipy 1.15.2
six 1.17.0
soupsieve 2.6
sympy 1.13.3
termcolor 2.5.0
tifffile 2025.3.13
tqdm 4.67.1
typing_extensions 4.12.2
urllib3 2.3.0
win32_setctime 1.2.0
I'm using powershell on windows 11. I do the following:
python -m venv labelme_env
.\labelme_env\Scripts\activate
pip install labelme
python -m labelme
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\irema\labelme_env\Lib\site-packages\labelme\__main__.py", line 15, in <module>
from labelme.app import MainWindow
File "C:\Users\irema\labelme_env\Lib\site-packages\labelme\app.py", line 21, in <module>
from labelme._automation import bbox_from_text
File "C:\Users\irema\labelme_env\Lib\site-packages\labelme\_automation\bbox_from_text.py", line 6, in <module>
import osam
from . import apis # noqa: F401
^^^^^^^^^^^^^^^^^^
File "C:\Users\irema\labelme_env\Lib\site-packages\osam\apis.py", line 5, in <module>
import onnxruntime
File "C:\Users\irema\labelme_env\Lib\site-packages\onnxruntime\__init__.py", line 61, in <module>
raise import_capi_exception
File "C:\Users\irema\labelme_env\Lib\site-packages\onnxruntime\__init__.py", line 24, in <module>
from onnxruntime.capi._pybind_state import (
File "C:\Users\irema\labelme_env\Lib\site-packages\onnxruntime\capi\_pybind_state.py", line 32, in <module>
from .onnxruntime_pybind11_state import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed.
The GUI to launch.
Provide environment information
What OS are you using?
Windows 11 Pro 10.0.26100
Describe the Bug
I'm using powershell on windows 11. I do the following:
and this is the output:
Expected Behavior
The GUI to launch.
To Reproduce
No response