python - pip install -- python 3 -- conda [非法指令 : 4]

标签 python conda

我在 python 3.6 中执行 scikit-learnnltk 的 pip 安装并收到错误 Illegal instruction: 4. 我在 osx 10.7.5 上。我之前用 conda install python=3 更新了 python 3 版本

我已经重新安装了 conda,它看起来像是一个编译器错误。我不完全确定如何调试它。

我如何了解导致此错误的原因? 我怎样才能解决这个问题?

最佳答案

查看这篇文章。 What is the "Illegal Instruction: 4" error and why does "-mmacosx-version-min=10.x" fix it?

The "illegal instruction" message is simply telling you that your binaries contain instructions the version of the OS that you are attempting to run them under does not understand. I can't give you the precise meaning of 4 but I expect that is internal to Apple.

关于python - pip install -- python 3 -- conda [非法指令 : 4],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41816892/

相关文章:

visual-studio-code - 激活conda环境在vscode中停止工作

python - 支持 argparse 中的枚举参数

python - conda --from-history 和 --no-build 不能一起工作

python - 安装 pygrip 和 conda forge

python - ArcGIS中栅格属性表制作问题

java - 使用Conda打包一组JARS

解决包未找到 : m2w64_c_win-64 while building R package r-ffbase

python - 如何访问 for 循环中的上一个/下一个元素?

python - 如何同时接受 int 和 float 类型的输入?

python - TinyMCE 弹出窗口在 Django 开发服务器中不起作用