PyCharm无法安装软件包

**

PyCharm无法安装软件包

**
PyCharm无法安装软件包_第1张图片

这是输出命令:
Collecting scipy>=1.6.3
Using cached scipy-1.10.1.tar.gz (42.4 MB)
Installing build dependencies: started
Installing build dependencies: still running…
Installing build dependencies: finished with status ‘done’
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status ‘done’
Installing backend dependencies: started
Installing backend dependencies: finished with status ‘done’
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status ‘error’

error: subprocess-exited-with-error

Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1

[37 lines of output]

  • meson setup --prefix=D:\python C:\Users\ASUS\AppData\Local\Temp\pip-install-dvkhphcq\scipy_356cc83bb33f45e2bac83f4ead68b94a C:\Users\ASUS\AppData\Local\Temp\pip-install-dvkhphcq\scipy_356cc83bb33f45e2bac83f4ead68b94a.mesonpy-x77imqly\build --native-file=C:\Users\ASUS\AppData\Local\Temp\pip-install-dvkhphcq\scipy_356cc83bb33f45e2bac83f4ead68b94a.mesonpy-native-file.ini -Ddebug=false -Doptimization=2
    The Meson build system
    Version: 1.0.1
    Source dir: C:\Users\ASUS\AppData\Local\Temp\pip-install-dvkhphcq\scipy_356cc83bb33f45e2bac83f4ead68b94a
    Build dir: C:\Users\ASUS\AppData\Local\Temp\pip-install-dvkhphcq\scipy_356cc83bb33f45e2bac83f4ead68b94a.mesonpy-x77imqly\build
    Build type: native build
    Project name: SciPy
    Project version: 1.10.1
    Activating VS 16.11.24
    C compiler for the host machine: cl (msvc 19.29.30148 “用于 x64 的 Microsoft ® C/C++ 优化编译器 19.29.30148 版”)
    C linker for the host machine: link link 14.29.30148.0
    C++ compiler for the host machine: cl (msvc 19.29.30148 “用于 x64 的 Microsoft ® C/C++ 优化编译器 19.29.30148 版”)
    C++ linker for the host machine: link link 14.29.30148.0
    Cython compiler for the host machine: cython (cython 0.29.34)
    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-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:63:0: ERROR: Unknown compiler(s): [[‘ifort’], [‘gfortran’], [‘flang’], [‘pgfortran’], [‘g95’]]
The following exception(s) were encountered:
Running ifort --version gave “[WinError 2] 系统找不到指定的文件。”
Running ifort -V gave “[WinError 2] 系统找不到指定的文件。”
Running gfortran --version gave “[WinError 2] 系统找不到指定的文件。”
Running gfortran -V gave “[WinError 2] 系统找不到指定的文件。”
Running flang --version gave “[WinError 2] 系统找不到指定的文件。”
Running flang -V gave “[WinError 2] 系统找不到指定的文件。”
Running pgfortran --version gave “[WinError 2] 系统找不到指定的文件。”
Running pgfortran -V gave “[WinError 2] 系统找不到指定的文件。”
Running g95 --version gave “[WinError 2] 系统找不到指定的文件。”
Running g95 -V gave “[WinError 2] 系统找不到指定的文件。”

A full log can be found at C:\Users\ASUS\AppData\Local\Temp\pip-install-dvkhphcq\scipy_356cc83bb33f45e2bac83f4ead68b94a.mesonpy-x77imqly\build\meson-logs\meson-log.txt
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
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.


望大佬解答一下,蟹蟹


你可能感兴趣的:(pycharm,python,ide)