Я пытался выполнить команду 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
ОШИБКА: Неизвестный компилятор(ы): [['ifort'], ['gfortran'], ['flang'], ['pgfortran'], ['g95']] -- Что мне делать? ⇐ Python
Программы на Python
1737303945
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]
Подробнее здесь: [url]https://stackoverflow.com/questions/77607056/error-unknown-compilers-ifort-gfortran-flang-pgfortran[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия