Как я могу решить FileNotFoundError при установке pypeit?Python

Программы на Python
Anonymous
Как я могу решить FileNotFoundError при установке pypeit?

Сообщение Anonymous »

Я пытаюсь установить PypeIt с помощью pip в VSCode и получаю следующую ошибку:

Код: Выделить всё

  Collecting pypeit
Using cached pypeit-1.16.0.tar.gz (163.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
Traceback (most recent call last):
File "C:\Users\aqbal\AppData\Roaming\Python\Python312\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in 
main()
File "C:\Users\aqbal\AppData\Roaming\Python\Python312\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aqbal\AppData\Roaming\Python\Python312\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aqbal\AppData\Local\Temp\pip-build-env-qe6by9g5\overlay\Lib\site-packages\setuptools\build_meta.py", line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aqbal\AppData\Local\Temp\pip-build-env-qe6by9g5\overlay\Lib\site-packages\setuptools\build_meta.py", line 297, in _get_build_requires
self.run_setup()
File "C:\Users\aqbal\AppData\Local\Temp\pip-build-env-qe6by9g5\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup
exec(code, locals())
File "", line 63, in 
File "C:\Users\aqbal\AppData\Local\Temp\pip-build-env-qe6by9g5\overlay\Lib\site-packages\extension_helpers\_setup_helpers.py", line 63, in get_extensions
for setuppkg in iter_setup_packages(srcdir, packages):
File "C:\Users\aqbal\AppData\Local\Temp\pip-build-env-qe6by9g5\overlay\Lib\site-packages\extension_helpers\_setup_helpers.py", line 159, in iter_setup_packages
module = import_file(setup_package, name=packagename + ".setup_package")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aqbal\AppData\Local\Temp\pip-build-env-qe6by9g5\overlay\Lib\site-packages\extension_helpers\_utils.py", line 136, in import_file
loader.exec_module(mod)
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File ".\pypeit\bspline\setup_package.py", line 58, in 
File ".\pypeit\bspline\setup_package.py", line 36, in check_for_openmp
File "C:\Users\aqbal\anaconda3\Lib\subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aqbal\anaconda3\Lib\subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\aqbal\anaconda3\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.
Я попробовал установить его через conda, установил все необходимые зависимости, перешел на conda, скачал github... Абсолютно ничего не работает и я не очень понимаю, что означает ошибка .

Подробнее здесь: https://stackoverflow.com/questions/787 ... ing-pypeit

Вернуться в «Python»