我试图安装delta-lake-reader[aws]在我的MacBook Pro与MacOS莫哈韦,它是失败的。我的笔记本电脑上安装了Python3.9.1。
$ pip3 install delta-lake-reader[aws]
Collecting delta-lake-reader[aws]
Using cached delta_lake_reader-0.2.2-py3-none-any.whl (7.4 kB)
Collecting pyarrow<3.0.0,>=2.0.0
Using cached pyarrow-2.0.0.tar.gz (58.9 MB)
Installing build dependencies ... |在此之后,它挂起一段时间,然后出现大量错误,最后,它在结束之前给出以下输出:
ERROR: Cannot install delta-lake-reader[aws]==0.1.0, delta-lake-reader[aws]==0.1.1, delta-lake-reader[aws]==0.2.1 and delta-lake-reader[aws]==0.2.2 because these package versions have conflicting dependencies.
The conflict is caused by:
delta-lake-reader[aws] 0.2.2 depends on pyarrow<3.0.0 and >=2.0.0
delta-lake-reader[aws] 0.2.1 depends on pyarrow<3.0.0 and >=2.0.0
delta-lake-reader[aws] 0.1.1 depends on pyarrow<3.0.0 and >=2.0.0
delta-lake-reader[aws] 0.1.0 depends on pyarrow<3.0.0 and >=2.0.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
$我试着卸载pyarrow,但它再次安装3.0.0,并以同样的方式失败。
我怎样才能克服这一切?
发布于 2021-04-10 09:38:06
问题在于显式依赖,它不包括py箭头3.0.0,但需要2.x.x版本。而且py箭头2.x.x与Python3.9不兼容,这就是为什么您的构建失败的原因,但是它与Python3.8一起工作,我可以用pip3.8 install 'delta-lake-reader[aws]==0.2.2'安装它。所以你有以下选择:
pip install deltalakehttps://stackoverflow.com/questions/67030572
复制相似问题