安装错误:无法从“ six.moves”(未知位置)导入名称“ collections_abc”

时间:2020-10-28 21:34:18

标签: python

我曾尝试在pip install --upgrade google-cloud-bigquery[pandas]中使用anaconda命令promt

但在安装时出现此错误

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笔记本上运行它时,我得到 ImportError: cannot import name 'collections_abc' from 'six.moves' (unknown location)

1 个答案:

答案 0 :(得分:0)

由于错误消息建议尝试将“六个”版本降级到1.12,因此它应该可以工作。我面临着同样的问题,并且降级了对我有用的东西。