首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >clang:错误: clang编译器不支持“faltivec”,请使用-maltivec并显式地包含altivec.h

clang:错误: clang编译器不支持“faltivec”,请使用-maltivec并显式地包含altivec.h
EN

Stack Overflow用户
提问于 2022-06-05 16:07:01
回答 1查看 666关注 0票数 0

我正在尝试安装优势分析软件包,但是由于下面的numpy,它正在出错,有什么想法吗?

以下是整个错误输出https://justpaste.it/8kif7

代码语言:javascript
复制
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly

       note: This error originates from a subprocess, and is likely not a problem with pip.
      error: legacy-install-failure
      
      × Encountered error while trying to install package.
      ╰─> numpy
      
      note: This is an issue with the package mentioned above, not pip.
      hint: See above for output from the failure.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
EN

回答 1

Stack Overflow用户

发布于 2022-09-09 21:11:40

我遇到了和你一样的问题。您正在尝试在哪个版本的python上安装numpy。通过将我的版本从3.7.13改为3.9.2,它开始为我工作。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72508979

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档