gpt4 book ai didi

google-colaboratory - 如何在 Google Colaboratory 的 VM 中安装额外的软件包?

转载 作者:行者123 更新时间:2023-12-03 21:28:22 25 4
gpt4 key购买 nike

我正在使用 Google Colaboratory,并立即注意到 tqdm未预装。有没有办法安装额外的软件包?

最佳答案

是的。您可以使用 pipapt根据需要安装软件包。
pip的一个例子在 welcome notebook :

!pip install -q matplotlib-venn
from matplotlib_venn import venn2
venn2(subsets = (3, 2, 1))
apt 的示例在 snippets :
!apt update && apt install -y libfluidsynth1

在 tdqm 的情况下, !pip install tqdm为我工作。

关于google-colaboratory - 如何在 Google Colaboratory 的 VM 中安装额外的软件包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47276071/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com