ubuntu - Racket 在 Google Colab 上挂起

标签 ubuntu installation racket google-colaboratory freeze

Google Colab 很好,不仅可以通过 %%script 运行 Python、C++ 和其他语言 block 魔术。

我正在尝试运行 Racket,但它不起作用,它挂起。以下是在 Colab 中运行的内容:

!sudo apt update -y
!sudo apt upgrade -y
!sudo apt install racket -y
#OK until here.

#Racket supposed to print out version,
#but it hangs here:
!racket -v

有人有解决方案吗?任何解决方法?

最佳答案

Racket 没有任何可以开箱即用的单元魔法,例如 Bash 之类的语言。
要在 Jupyter 上运行 Racket,您可以尝试在 Jupyter 笔记本上使用 IRacket,它仍在进行中:https://github.com/rmculpepper/iracket

关于ubuntu - Racket 在 Google Colab 上挂起,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60205786/

相关文章:

linux - 在启动时设置进程-非root用户

linux - Yum 失败并显示 - 没有启用的 repo 协议(protocol)。

python - 安装 Python 语音识别包

python - 如何从ftp下载文件?

data-structures - 为什么 Racket 中的集合(或列表)以#0# 作为唯一的数据?

multithreading - 如何构建在racket lisp 引擎中使用的程序?

php5-fpm 不适用于 ubuntu 10.10 上的 php-apc

linux - 如何为每个命令重定向文件中的 STDOUT 和 STDERR?

android - Cordova 构建安卓

list - 首先: contract violation error in racket/scheme for printing out a combination of list procedures