-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation error on Windows #5773
Comments
It must be the path length. Are you about to reduce this "PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0" to a mimnal? I understand that this file name is too long: test_averagepool_3d_dilations_large_count_include_pad_is_0_ceil_mode_is_False as well. |
I have the same issue when I try to install onnx==1.14.0 with python 3.10 (from Microsoft Store) This is the workaround I found: |
Thank you @ElieTaillard ! However is this necessary to bring all the tests files in the packages ? Its making it heavier and those are not conventionnally used in a package. |
@greg-is-kub: There is work on a pr to remove the testdata from the package: #5970 |
Superb ! Thanks for the notification @andife, I'll watch this issue then. |
Bug Report
Is the issue related to model conversion?
Not
Describe the bug
Can not install onnx package on Windows
System information
Reproduction instructions
C:\Users\andre>pip install onnx
Collecting onnx
Downloading onnx-1.15.0-cp311-cp311-win_amd64.whl.metadata (15 kB)
Requirement already satisfied: numpy in c:\users\andre\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from onnx) (1.26.2)
Requirement already satisfied: protobuf>=3.20.2 in c:\users\andre\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from onnx) (4.25.1)
Downloading onnx-1.15.0-cp311-cp311-win_amd64.whl (14.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.3/14.3 MB 10.9 MB/s eta 0:00:00
Installing collected packages: onnx
ERROR: Could not install packages due to an OSError: [WinError 3] The system cannot find the path specified: 'C:\Users\andre\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\onnx\backend\test\data\node\test_averagepool_3d_dilations_large_count_include_pad_is_0_ceil_mode_is_False\test_data_set_0'
Expected behavior
Installed onnx
The text was updated successfully, but these errors were encountered: