-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
ModuleNotFoundError: No module named 'packaging' ERROR #13761
Comments
please check if "packaging" exists in your python's site-packages |
Hi @wangyems , Thanks for the response. |
Same error here. |
I think this is a regression of onnxruntime 1.13 The [build-system]
requires = ["packaging"] |
@belm0 putting |
Have
Have you found the solution for this? I have run into the same issue with Python3.10. Thanks! |
Any update on this? I'm also getting the same error using python3.8. None of the other work around solutions helped. (E.g. including the setup file, pip installing the packaging library, etc...) |
pip install . is not supported I don't think. I suggest following https://onnxruntime.ai/docs/build/inferencing.html#common-build-instructions to build and install the python wheel. |
I have the same issue when running from fairseq https://github.com/facebookresearch/fairseq#requirements-and-installation error:
|
Any update on this, I also getting the issue with master commit 9da3e36 Steps followed :
Python 3.8.10 Error :
Thanks |
Any update on this?
I have verified the installation of a non-conflicting version of 'packaging'. Thanks. |
any update on this issue? I encountered the same one here |
Please see the build instructions. Long term, it would be really nice if we can support building directly from |
use: |
thanks! this solution works for me |
pip install -v --no-build-isolation -- no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" -> When I am executing this line I am getting an error thats given below ERROR: Invalid requirement: '--global-option=--cpp_ext' |
do: |
(swintssl) C:\Users\26804\apex>pip install -v --no-build-isolation --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./ torch.version = 1.7.1 error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. This is -- a caller that pip uses to run setup.py- It imports setuptools before invoking setup.py, to enable projects that directlyimport from
|
I have executed above given command still I am getting the error TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' × Preparing metadata (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. Preparing metadata (pyproject.toml) ... error × Encountered error while generating package metadata. Can anyone please help to solve this issue |
Describe the issue
Hi everyone, I'm trying to clone
onnxruntime
repo and install (in order to later use therun_benchmark.sh
script), but facing a really weird issue when I try to install. It errors on a missing package which I do have installed.I already tried the solutions described here without a success.
Error and Output:
Please read
To reproduce
section to see what I did to have that error.Expected behavior:
installation complete successfully.
I also attach my installed packages list:
installed_packages.txt
Would really appreciate any help on the topic!
To reproduce
I'm cloning the repo:
git clone https://github.com/microsoft/onnxruntime.git
I try to install:
pip install .
Then errors
And that's it, here I get the error you can see above in my description..
Urgency
No response
Platform
Linux
OS Version
20.04.4 LTS (Focal Fossa)
ONNX Runtime Installation
Other / Unknown
ONNX Runtime Version or Commit ID
onnxruntime Tag=1.13.1 , Commit ID=#13448
ONNX Runtime API
Python
Architecture
X86
Execution Provider
Other / Unknown
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: