Traceback (most recent call last):
File "", line 2, in
File "
", line 34, in
File "C:\Users\rohit\intel-extension-for-transformers\setup.py", line 14, in
from intel_extension_for_transformers.tools.utils import get_gpu_family
File "C:\Users\rohit\intel-extension-for-transformers\intel_extension_for_transformers\tools\utils.py", line 21, in
import torch
File "C:\Users\rohit\miniconda3\envs\llm\lib\site-packages\torch\__init__.py", line 139, in
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\rohit\miniconda3\envs\llm\lib\site-packages\torch\lib\backend_with_compiler.dll" or one of its dependencies.
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: 'C:\Users\rohit\miniconda3\envs\llm\python.exe' -c '
exec(compile('"'"''"'"''"'"'
# This is -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'C:\\Users\\rohit\\intel-extension-for-transformers\\setup.py'"'"',), "", "exec"))' egg_info --egg-base 'C:\Users\rohit\AppData\Local\Temp\pip-pip-egg-info-upvjd4iu'
cwd: C:\Users\rohit\intel-extension-for-transformers\
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Я не уверен, что это ошибка pip, поскольку я запустил pip install --upgrade setuptools, который был популярным решением после исследования этой проблемы, но безрезультатно. Я даже попытался регрессировать версию Python до 3.6 и попытался запустить команду, но это не сработало. Пожалуйста, рассмотрите этот вопрос.
Я следую руководству https://intel.github.io/intel-extension-for-pytorch/llm/llama3/xpu/ для локального запуска моделей Llama 3, однако при настройке я получаю следующую ошибку: среде и запустив команду pip install -v . . [code] Traceback (most recent call last): File "", line 2, in File " ", line 34, in File "C:\Users\rohit\intel-extension-for-transformers\setup.py", line 14, in from intel_extension_for_transformers.tools.utils import get_gpu_family File "C:\Users\rohit\intel-extension-for-transformers\intel_extension_for_transformers\tools\utils.py", line 21, in import torch File "C:\Users\rohit\miniconda3\envs\llm\lib\site-packages\torch\__init__.py", line 139, in raise err OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\rohit\miniconda3\envs\llm\lib\site-packages\torch\lib\backend_with_compiler.dll" or one of its dependencies. error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. full command: 'C:\Users\rohit\miniconda3\envs\llm\python.exe' -c ' exec(compile('"'"''"'"''"'"' # This is -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '"'"'-c'"'"' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize
try: import setuptools except ImportError as error: print( "ERROR: Can not execute `setup.py` since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1)
__file__ = %r sys.argv[0] = __file__
if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "" setup_py_code = "from setuptools import setup; setup()"
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. [/code] Я не уверен, что это ошибка pip, поскольку я запустил pip install --upgrade setuptools, который был популярным решением после исследования этой проблемы, но безрезультатно. Я даже попытался регрессировать версию Python до 3.6 и попытался запустить команду, но это не сработало. Пожалуйста, рассмотрите этот вопрос.
Я пытаюсь установить пакет Python pyCGNS в PyCharm, но он выдает вывод команды:
Collecting pyCGNS==6.2.2
Using cached pyCGNS-6.2.2.tar.gz (11.6 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'...
У меня есть несколько проблем и ошибок при развертывании веб-сайта Heroku.
Я использовал django для создания веб-сайта и хочу развернуть уже полученный веб-сайт.
Все необходимые пакеты установлены как в моей локальной, так и в виртуальной среде....
Я устанавливаю локальный пакет Python в редактируемом режиме, используя для его настройки файл pyproject.toml. pyproject.toml выглядит следующим образом:
Я пытаюсь установить модуль ChatterBot с помощью Python 3.12.3, но постоянно сталкиваюсь со следующей ошибкой:
× pip subprocess to install build dependencies did not run successfully.
Снимок экрана, на котором подробно показана ошибка: введите...
Всякий раз, когда я записываю это в свой Linux-терминал, я получаю следующее сообщение об ошибке. Я пытался поискать, была ли у людей подобная проблема, но не нашел. В нем говорится, что при создании «src/jaxfluids.egg-info» было отказано в...