google-colaboratory - 使用谷歌合作实验室的 Z3
问题描述
我正在尝试从 Google Colaboratory 运行 Z3(https://github.com/Z3Prover/z3),但到目前为止没有运气。
我可以使用!apt-get install z3
.
但是似乎不存在 Python 绑定。
import z3
print(z3.get_version_string())
失败
AttributeError: module 'z3' has no attribute 'get_version_string'
解决方案
Debian Z3 软件包来自 2015 年。我认为那时该功能不存在。您需要更新版本的 Z3。
推荐阅读
- c# - 从 IEnumerable 获取所有组中所有分组项的计数
> 分组依据 - javascript - Jquery日期选择器设置日期问题
- corda - Corda 中的数据安全性
- asp.net-mvc - 在 ASP.NET MVC iis 中获取客户端的 IP 地址
- spring-boot - oauth2 登录:显示未授权 - 无法生成 access_token
- wordpress - Wordpress 找不到 Docker 中托管的数据库
- c# - 字谜 - InvalidOperationException
- php - 了解变量 PHP 中的 OR
- java - 如何从哈希表中获取价值
> 小时 - java - 在 JSON 中查找价值的最有效方法。jsonpath.read vs 杰克逊 findvalue?