Could not load file or assembly 'System.Runtime' while running 'pip install onnx' · Issue #1930 · IronLanguages/ironpython3 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@WinInsider

Description

@WinInsider

Were looking to dabble with AI/ML using ONNX in IronPython 3.4.2 (on Windows 10) with .NET 9.0.201 SDK

My steps:

Last command produces...

Image

Full error dump:

DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Collecting onnx Using cached https://files.pythonhosted.org/packages/8f/71/1543d8dad6a26df1da8953653ebdbedacea9f1a5bcd023fe10f8c5f66d63/onnx-1.14.1.tar.gz Installing build dependencies ... error ERROR: Complete output from command 'C:\Users\Mike\.dotnet\tools\.store\ironpython.console\3.4.2\ironpython.console\3.4.2\tools\net8.0\any\ipy.dll' 'C:\Users\Mike\.dotnet\tools\.store\ironpython.console\3.4.2\ironpython.console\3.4.2\tools\net8.0\any\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Mike\AppData\Local\Temp\pip-build-env-rfn35vxf\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel: ERROR: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. ----------------------------------------
ERROR: Command "'C:\Users\Mike\.dotnet\tools\.store\ironpython.console\3.4.2\ironpython.console\3.4.2\tools\net8.0\any\ipy.dll' 'C:\Users\Mike\.dotnet\tools\.store\ironpython.console\3.4.2\ironpython.console\3.4.2\tools\net8.0\any\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Mike\AppData\Local\Temp\pip-build-env-rfn35vxf\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel" failed with error code -532462766 in None