这些库通常可以通过Python的包管理工具pip来安装。然而,有时候在尝试安装或导入某个库时,会遇到PackageNotFoundError,提示找不到某个包的元数据。这个问题可能会让人感到困惑,因为明明记得已经用pip安装了这个包。针对’bitsandbytes’这个包,出现PackageNotFoundError的原因可能有以下几种: 包名拼写错误:首先确认你是否...
pip install bitsandbytes 2. 检查Python环境是否支持importlib.metadata importlib.metadata是Python 3.8及以上版本的标准库的一部分。如果您的Python版本低于3.8,那么您可能需要升级Python或使用其他方式来获取包的元数据。 您可以通过以下命令来检查Python的版本: bash python --version 如果版本低于3.8,建议升级到最新...
No package metadata was found for bitsandbytes #10 Closed ziziguai opened this issue Jun 5, 2024· 3 comments Closed No package metadata was found for bitsandbytes #10 ziziguai opened this issue Jun 5, 2024· 3 comments Comments ziziguai commented Jun 5, 2024 是transformers版本问...
│ ❱ 2177 │ │ │ is_8bit_serializable = version.parse(importlib_metadata.version("bitsandbyte ││ 2178 │ │ else: ││ 2179 │ │ │ is_8bit_serializable = False ││ 2180 ││ ││ /opt/conda/lib/python3.7/site-packages/importlib_metadata/__init__.py:832 in version ││ ...
(base) C:\Users\###>conda install attrs Collecting package metadata (current_repodata.json): done Solving environment: - The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency: - defaults/win-64::jsonschema==4.19.2=py311haa95...
我尝试在Docker环境中安装Python依赖项,在安装psycopg2包时发现了一个错误。原因是此软件包依赖于两个...
builtins.ModuleNotFoundError: No module named 'openvino.runtime'; 'openvino' is not a package error. I'm using Ubuntu 20.04, Python 3.8.10 and OpenVINO 2023.0.0. Can you tell me what is wrong? How to make the import work? I do not use any ...
builtins.ModuleNotFoundError: No module named 'openvino.runtime'; 'openvino' is not a package error. I'm using Ubuntu 20.04, Python 3.8.10 and OpenVINO 2023.0.0. Can you tell me what is wrong? How to make the import work? I do not use any kind of v...
Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [10 lines of output] Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", ...
I tried to pip install bitsandbytes to fix it, but this time when i run i get : RuntimeError: No GPU found. A GPU is needed for quantization. No response Timothychen00 changed the title [Question] [Question] Mac run but get importlib.metadata.PackageNotFoundError: No package metadata...