有没有一种简单的方法可以使用Common Lisp中的Python库? [英] Is there a simple way to use Python libraries from Common Lisp?

查看:181
本文介绍了有没有一种简单的方法可以使用Common Lisp中的Python库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在编写Common Lisp代码时,我真正想念的一件事是访问Python库,包括标准库和第三方模块. CLPython提供了有限的Python功能子集,无法使用大多数库,因此这对我而言并没有太大用处.我希望能够从Common Lisp调用Python代码,使其在CPython或PyPy之类的Python VM中运行.

One thing I really miss when writing Common Lisp code is access to Python libraries, both standard library and third party modules. CLPython provides a limited subset of Python functionality which precludes the use of most libraries, so that's not really useful to me. I would like to be able to call Python code from Common Lisp such that it runs in a Python VM like CPython or PyPy.

推荐答案

一种解决方案是 python-on-lisp .它应该是可安装ASDF的.几年没有进行维护或更新,因此可能会有更好的选择.

One solution is python-on-lisp. It should be ASDF-installable. It hasn't been maintained or updated for a couple years, so there may be something better available.

这篇关于有没有一种简单的方法可以使用Common Lisp中的Python库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆