ОШИБКА: Неизвестный компилятор(ы): [['ifort'], ['gfortran'], ['flang'], ['pgfortran'], ['g95']] -- Что мне делать?Python

Программы на Python
Ответить
Anonymous
 ОШИБКА: Неизвестный компилятор(ы): [['ifort'], ['gfortran'], ['flang'], ['pgfortran'], ['g95']] -- Что мне делать?

Сообщение Anonymous »

Я пытался выполнить команду pip install -r require_versions.txt , однако постоянно получаю то же сообщение об ошибке, касающееся компиляторов Фортрана. Я не уверен, откуда их установить, поскольку пытался с их веб-сайта, но, возможно, я напортачил, поскольку он все еще не работает. Мы очень ценим все ответы!
× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output]
+ meson setup C:\Users\bagda\AppData\Local\Temp\pip-install-cyk95ir8\scipy_3e9529a1d9cd407a96011bdcdb5c5cd6 C:\Users\bagda\AppData\Local\Temp\pip-install-cyk95ir8\scipy_3e9529a1d9cd407a96011bdcdb5c5cd6\.mesonpy-90rqinq2
-Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\bagda\AppData\Local\Temp\pip-install-cyk95ir8\scipy_3e9529a1d9cd407a96011bdcdb5c5cd6\.mesonpy-90rqinq2\meson-python-native-file.ini
The Meson build system
Version: 1.3.0
Source dir: C:\Users\bagda\AppData\Local\Temp\pip-install-cyk95ir8\scipy_3e9529a1d9cd407a96011bdcdb5c5cd6
Build dir: C:\Users\bagda\AppData\Local\Temp\pip-install-cyk95ir8\scipy_3e9529a1d9cd407a96011bdcdb5c5cd6\.mesonpy-90rqinq2
Build type: native build
Project name: SciPy
Project version: 1.9.3
Activating VS 17.8.2
C compiler for the host machine: cl (msvc 19.38.33130 "Microsoft (R) C/C++ Optimizing Compiler Version 19.38.33130 for x64")
C linker for the host machine: link link 14.38.33130.0
C++ compiler for the host machine: cl (msvc 19.38.33130 "Microsoft (R) C/C++ Optimizing Compiler Version 19.38.33130 for x64")
C++ linker for the host machine: link link 14.38.33130.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wno-unused-but-set-variable: NO
Compiler for C supports arguments -Wno-unused-but-set-variable: NO (cached)
Compiler for C supports arguments -Wno-unused-function: NO
Compiler for C supports arguments -Wno-conversion: NO
Compiler for C supports arguments -Wno-misleading-indentation: NO
Compiler for C supports arguments -Wno-incompatible-pointer-types: NO
Library m found: NO

..\meson.build:57:0: ERROR: Unknown compiler(s): [['ifort'], ['gfortran'], ['flang'], ['pgfortran'], ['g95']]
The following exception(s) were encountered:
Running `ifort --version` gave "[WinError 2] The system cannot find the file specified"
Running `ifort -V` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran --version` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran -V` gave "[WinError 2] The system cannot find the file specified"
Running `flang --version` gave "[WinError 2] The system cannot find the file specified"
Running `flang -V` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran --version` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran -V` gave "[WinError 2] The system cannot find the file specified"
Running `g95 --version` gave "[WinError 2] The system cannot find the file specified"
Running `g95 -V` gave "[WinError 2] The system cannot find the file specified"

A full log can be found at C:\Users\bagda\AppData\Local\Temp\pip-install-cyk95ir8\scipy_3e9529a1d9cd407a96011bdcdb5c5cd6\.mesonpy-90rqinq2\meson-logs\meson-log.txt
[end of output]


Подробнее здесь: https://stackoverflow.com/questions/776 ... -pgfortran
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

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