ImportError: cannot import name 'split_complex_to_pairs' from 'onnx.helper' · Issue #6962 · onnx/onnx · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this error while installing the latest release 1.18.0:
Traceback (most recent call last):
File "/home/jupyter/packages/gnomad_qc/v5/sample_qc/hard_filters.py", line 7, in <module>
from gnomad.resources.grch38.reference_data import telomeres_and_centromeres
File "/home/jupyter/packages/gnomad/resources/grch38/__init__.py", line 3, in <module>
from .gnomad import *
File "/home/jupyter/packages/gnomad/resources/grch38/gnomad.py", line 15, in <module>
from gnomad.sample_qc.ancestry import POP_NAMES
File "/home/jupyter/packages/gnomad/sample_qc/ancestry.py", line 13, in <module>
from skl2onnx import convert_sklearn
File "/home/jupyter/.local/lib/python3.10/site-packages/skl2onnx/__init__.py", line 16, in <module>
from .convert import convert_sklearn, to_onnx, wrap_as_onnx_mixin
File "/home/jupyter/.local/lib/python3.10/site-packages/skl2onnx/convert.py", line 8, in <module>
from .proto import get_latest_tested_opset_version
File "/home/jupyter/.local/lib/python3.10/site-packages/skl2onnx/proto/__init__.py", line 22, in <module>
from onnx.helper import split_complex_to_pairs
ImportError: cannot import name 'split_complex_to_pairs' from 'onnx.helper' (/home/jupyter/.local/lib/python3.10/site-packages/onnx/helper.py)
I rolled back to use 1.17.0 and it works, not sure if I should report it here.
The text was updated successfully, but these errors were encountered:
Thank you! So skl2onnx needs to have a new release? I created an issue in that repo: onnx/sklearn-onnx#1180.
Sorry, I just realized that you guys are probably in the same group.
Hi,
I ran into this error while installing the latest release 1.18.0:
I rolled back to use 1.17.0 and it works, not sure if I should report it here.
The text was updated successfully, but these errors were encountered: