我收到以下错误:
\n File "/home/ron/rzg2l_bsp_v1.3/poky/bitbake/lib/bb/compat.py", line 7, in <module>\n from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict\nImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)\nRun Code Online (Sandbox Code Playgroud)\n谷歌搜索显示 Flask 必须 >=2.0,所以我这样做了
\n$ sudo pacman -Syu python-flask\nRun Code Online (Sandbox Code Playgroud)\n安装的版本 ( 2.0.2-3)
这并没有解决问题。进一步搜索发现 babelfish 也需要升级,所以我这样做了:
\n$ python3.10 -m pip install babelfish -U\nRun Code Online (Sandbox Code Playgroud)\n这向我展示了:
\nDefaulting to user installation because normal site-packages is not writeable\nRequirement already satisfied: babelfish in /home/ron/.local/lib/python3.10/site-packages (0.6.0)\nCollecting babelfish\n Using cached babelfish-0.6.0-py3-none-any.whl (93 kB)\n Downloading babelfish-0.5.5.tar.gz (90 kB)\n …Run Code Online (Sandbox Code Playgroud) 截至 2021 年,Google Colab 使用哪个 Python 版本?我想在 Google Colab 上使用 Python 3.8 进行编码,可以吗?
感谢您