[英]installation error: cannot import name 'collections_abc' from 'six.moves' (unknown location)
I tried to pip install --upgrade google-cloud-bigquery[pandas]
on anaconda command promt我试图在 anaconda 命令提示符上
pip install --upgrade google-cloud-bigquery[pandas]
but got this errors while installing但是在安装时遇到了这个错误
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.
when I run it on jupyter notebook I get ImportError: cannot import name 'collections_abc' from 'six.moves' (unknown location)
当我在 jupyter 笔记本上运行它时,我收到
ImportError: cannot import name 'collections_abc' from 'six.moves' (unknown location)
As the error message suggests try downgrading the "six" version to 1.12, it should work.由于错误消息建议尝试将“六”版本降级到 1.12,它应该可以工作。 I was facing the same issue and downgrading the same worked for me.
我面临着同样的问题,降级对我来说同样有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.