gpt4 book ai didi

python - 通过 GitHub 将游戏安装到 Google Colab

转载 作者:行者123 更新时间:2023-12-04 18:33:24 31 4
gpt4 key购买 nike

我正在尝试通过 GitHub 将我正在开发的 Python 游戏安装到 Google Colab 上。过去几周它一直运行良好,但今天我得到了这个错误,即使我没有改变任何东西。请问有什么想法吗?

我运行的代码:

# Install
!git clone --depth 1 --branch master https://github.com/Nokkla/AIDungeonClone
%cd AIDungeonClone/
!./install.sh
from IPython.display import clear_output
#clear_output()
#print("Installation Complete!")

输出:
Cloning into 'AIDungeonClone'...
remote: Enumerating objects: 62, done.
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 62 (delta 8), reused 50 (delta 5), pack-reused 0
Unpacking objects: 100% (62/62), done.
/content/AIDungeonClone
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python-pip-whl python3.6-venv
The following NEW packages will be installed:
python-pip-whl python3-venv python3.6-venv
0 upgraded, 3 newly installed, 0 to remove and 25 not upgraded.
Need to get 1,660 kB of archives.
After this operation, 1,901 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.1 [1,653 kB]
Err:2 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3.6-venv amd64 3.6.9-1~18.04
404 Not Found [IP: 91.189.88.142 80]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-venv amd64 3.6.7-1~18.04 [1,208 B]
Fetched 1,654 kB in 0s (14.0 MB/s)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/python3.6/python3.6-venv_3.6.9-1~18.04_amd64.deb 404 Not Found [IP: 91.189.88.142 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

最佳答案

尝试这样做

sudo apt-get dist-upgrade  && sudo apt-get update  

然后继续执行安装命令。

关于python - 通过 GitHub 将游戏安装到 Google Colab,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61542681/

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