gpt4 book ai didi

python - 安装错误 : cannot import name 'collections_abc' from 'six.moves' (unknown location)

转载 作者:行者123 更新时间:2023-12-05 06:58:28 57 4
gpt4 key购买 nike

我尝试在 anaconda 命令提示符上 pip install --upgrade google-cloud-bigquery[pandas]

但是在安装的时候出现了这个错误

ERROR: astroid 2.3.1 requires typed-ast<1.5,>=1.4.0; implementation_name == "cpython" and python_version < "3.8", which is not installed.
ERROR: astroid 2.3.1 has requirement six==1.12, but you'll have six 1.15.0 which is incompatible.

当我在 jupyter notebook 上运行它时,我得到ImportError:无法从“six.moves”(未知位置)导入名称“collections_abc”

最佳答案

我能够通过显式安装六个更新版本(1.13.0 而不是 1.11.0)来解决此问题:

pip3 install --upgrade six>=1.13.0

关于python - 安装错误 : cannot import name 'collections_abc' from 'six.moves' (unknown location),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64581628/

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