Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --version 1.12.2

升级到maxOS Big Sur和Xcode12.3之后,执行pod install总是报错

Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --version 1.12.2
提示我们执行

gem pristine ffi --version 1.12.2


执行之后又会报错

ERROR:  While executing gem ... (Gem::FilePermissionError)
 You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.

说没有写入权限。
既然如此,就加上权限,继续执行

sudo gem pristine ffi --version 1.12.2
终端输出日志

Restoring gems to pristine condition...
Building native extensions. This could take a while...
Restored ffi-1.12.2


执行完之后就好了。
类似的错误,都可以通过这种方式解决

Ignoring RedCloth-4.3.2 because its extensions are not built.  Try: gem pristine RedCloth --version 4.3.2
Ignoring bluecloth-2.2.0 because its extensions are not built.  Try: gem pristine bluecloth --version 2.2.0
Ignoring commonmarker-0.20.2 because its extensions are not built.  Try: gem pristine commonmarker --version 0.20.2
Ignoring eventmachine-1.2.7 because its extensions are not built.  Try: gem pristine eventmachine --version 1.2.7
Ignoring ffi-1.13.1 because its extensions are not built.  Try: gem pristine ffi --version 1.13.1
Ignoring ffi-1.12.2 because its extensions are not built.  Try: gem pristine ffi --version 1.12.2
Ignoring http-parser-1.2.2 because its extensions are not built.  Try: gem pristine http-parser --version 1.2.2
Ignoring http_parser.rb-0.6.0 because its extensions are not built.  Try: gem pristine http_parser.rb --version 0.6.0
Ignoring kgio-2.11.3 because its extensions are not built.  Try: gem pristine kgio --version 2.11.3
Ignoring nio4r-2.5.4 because its extensions are not built.  Try: gem pristine nio4r --version 2.5.4
Ignoring nio4r-2.5.2 because its extensions are not built.  Try: gem pristine nio4r --version 2.5.2
Ignoring nokogiri-1.10.10 because its extensions are not built.  Try: gem pristine nokogiri --version 1.10.10
Ignoring puma-5.1.0 because its extensions are not built.  Try: gem pristine puma --version 5.1.0
Ignoring puma-4.3.5 because its extensions are not built.  Try: gem pristine puma --version 4.3.5
Ignoring puma-3.12.6 because its extensions are not built.  Try: gem pristine puma --version 3.12.6
Ignoring puma-3.12.0 because its extensions are not built.  Try: gem pristine puma --version 3.12.0
Ignoring raindrops-0.19.1 because its extensions are not built.  Try: gem pristine raindrops --version 0.19.1
Ignoring rdiscount-2.2.0.2 because its extensions are not built.  Try: gem pristine rdiscount --version 2.2.0.2
Ignoring redcarpet-3.5.0 because its extensions are not built.  Try: gem pristine redcarpet --version 3.5.0
Ignoring therubyracer-0.12.3 because its extensions are not built.  Try: gem pristine therubyracer --version 0.12.3
Ignoring unf_ext-0.0.7.7 because its extensions are not built.  Try: gem pristine unf_ext --version 0.0.7.7
Ignoring unicorn-5.7.0 because its extensions are not built.  Try: gem pristine unicorn --version 5.7.0
Ignoring websocket-driver-0.7.3 because its extensions are not built.  Try: gem pristine websocket-driver --version 0.7.3
Ignoring yajl-ruby-1.4.1 because its extensions are not built.  Try: gem pristine yajl-ruby --version 1.4.1
Ignoring RedCloth-4.3.2 because its extensions are not built.  Try: gem pristine RedCloth --version 4.3.2
Ignoring bluecloth-2.2.0 because its extensions are not built.  Try: gem pristine bluecloth --version 2.2.0
Ignoring commonmarker-0.20.2 because its extensions are not built.  Try: gem pristine commonmarker --version 0.20.2
Ignoring eventmachine-1.2.7 because its extensions are not built.  Try: gem pristine eventmachine --version 1.2.7
Ignoring ffi-1.13.1 because its extensions are not built.  Try: gem pristine ffi --version 1.13.1
Ignoring ffi-1.12.2 because its extensions are not built.  Try: gem pristine ffi --version 1.12.2
Ignoring http-parser-1.2.2 because its extensions are not built.  Try: gem pristine http-parser --version 1.2.2
Ignoring http_parser.rb-0.6.0 because its extensions are not built.  Try: gem pristine http_parser.rb --version 0.6.0
Ignoring kgio-2.11.3 because its extensions are not built.  Try: gem pristine kgio --version 2.11.3
Ignoring nio4r-2.5.4 because its extensions are not built.  Try: gem pristine nio4r --version 2.5.4
Ignoring nio4r-2.5.2 because its extensions are not built.  Try: gem pristine nio4r --version 2.5.2
Ignoring nokogiri-1.10.10 because its extensions are not built.  Try: gem pristine nokogiri --version 1.10.10
Ignoring puma-5.1.0 because its extensions are not built.  Try: gem pristine puma --version 5.1.0
Ignoring puma-4.3.5 because its extensions are not built.  Try: gem pristine puma --version 4.3.5
Ignoring puma-3.12.6 because its extensions are not built.  Try: gem pristine puma --version 3.12.6
Ignoring puma-3.12.0 because its extensions are not built.  Try: gem pristine puma --version 3.12.0
Ignoring raindrops-0.19.1 because its extensions are not built.  Try: gem pristine raindrops --version 0.19.1
Ignoring rdiscount-2.2.0.2 because its extensions are not built.  Try: gem pristine rdiscount --version 2.2.0.2
Ignoring redcarpet-3.5.0 because its extensions are not built.  Try: gem pristine redcarpet --version 3.5.0
Ignoring therubyracer-0.12.3 because its extensions are not built.  Try: gem pristine therubyracer --version 0.12.3
Ignoring unf_ext-0.0.7.7 because its extensions are not built.  Try: gem pristine unf_ext --version 0.0.7.7
Ignoring unicorn-5.7.0 because its extensions are not built.  Try: gem pristine unicorn --version 5.7.0
Ignoring websocket-driver-0.7.3 because its extensions are not built.  Try: gem pristine websocket-driver --version 0.7.3
Ignoring yajl-ruby-1.4.1 because its extensions are not built.  Try: gem pristine yajl-ruby --version 1.4.1

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Artificial Intelligence 55 2. Intelligent Agents Contents: 2.1. Approaches for Artificial Intelligence 2.2. Rational Agents 2.3. Task Environments 2.4. Intelligent Agent Structure 2.5. Category of Intelligent Agents Artificial Intelligence :: Basics :: Agent 56 The classification is based on their degree of perceived intelligence and capability. 该分类是基于他们感知的智能和能力的程度。 Here we will introduce five kinds of agents that embody the principles underlying almost all intelligent systems. 这里我们将介绍5种类型的智能体,体现几乎所有智能系统的基本原理。 Typical Classes of Agents 智能体的主要类别 2.5. Category of Intelligent Agents Simple reflex agents Model-based reflex agents Goal-based agents Utility-based agents Learning agents 简单反射智能体 基于模型的反射智能体 基于目标的智能体 基于效用的智能体 学习智能体 Artificial Intelligence 57 2.5. Category of Intelligent Agents Contents: 2.5.1. Simple Reflex Agents 2.5.2. Model-based Reflex Agents 2.5.3. Goal-based Agents 2.5.4. Utility-based Agents 2.5.5. Learning Agents 2.5.6. Other Agents Artificial Intelligence :: Basics :: Agent 58 Simple reflex agents act only on the basis of the current percept, ignoring the rest of the percept history. 简单反射智能体仅仅在当前感知的基础上动作,忽略其余的感知历史。 Agent function is based on condition-action rule: if condition then action. 智能体功能是基于条件动作规则:if 条件 then 动作。 Structure of Simple Reflex Agents 简单智能体的结构 2.5.1. Simple Reflex Agents Agent Environment Percepts Actions Actuators Sensors Condition-action rules What the world is like now What action I should do now Artificial Intelligence :: Basics :: Agent 59 This agent function only succeeds when the environment is fully observable. 仅当外部环境为完全可观测时,该智能体的功能才能发挥。 Some reflex agents can also contain information on their current state which allows them to disregard conditions whose actuators are already triggered. 某些反射智能体也可以包含关于其当前状态的信息,允许它们忽视执行器已被触发的条件。 Infinite loops are often unavoidable for agents operating in partially observable environments. 智能体在部分可观测环境下运行时,无限循环往往是无法避免的。 Note: If the agent can randomize its actions, it may be possible to escape

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值