首页 > 解决方案 > numpy 安装的一些问题

问题描述

当我尝试pip install numpy使用Python 3.9安装 numpy 时,出现此错误:

ERROR: Command errored out with exit status 1:
     command: 'c: 'c:prepare_metadata_for_build_wheel 'C
         cwd:
    Complete output (200 lines):
    Running from numpy source directory.
    setup.py:470: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
      run_build = parse_setuppy_commands()
    Processing numpy/random\_bounded_integers.pxd.in
    Processing numpy/random\bit_generator.pyx
    Processing numpy/random\mtrand.pyx
    Processing numpy/random\_bounded_integers.pyx.in
    Processing numpy/random\_common.pyx
    Processing numpy/random\_generator.pyx
    Processing numpy/random\_mt19937.pyx
    Processing numpy/random\_pcg64.pyx
    Processing numpy/random\_philox.pyx
    Processing numpy/random\_sfc64.pyx

我看了很多教程,在stackoverflow上搜索了一些类似的问题,但我找不到答案。

标签: pythonnumpypippython-3.9

解决方案


推荐阅读