如何修复在 Google Colab 上安装 Beam 时出现的错误
How to fix the errors when installing beam on Google Colab
我开始学习 beam,发现 google colab 是一个很好的起点(根据我正在学习的课程),但是,第一件事是在 Colab 中安装 beam,它会抛出一些错误当我尝试这样做时:
!{'pip3 install --quiet apache_beam'}
ERROR: pydrive 1.3.1 has requirement oauth2client>=4.0.0, but you'll have oauth2client 3.0.0 which is incompatible.
ERROR: chainer 6.5.0 has requirement typing<=3.6.6, but you'll have typing 3.7.4.1 which is incompatible.
ERROR: chainer 6.5.0 has requirement typing-extensions<=3.6.6, but you'll have typing-extensions 3.7.4.1 which is incompatible.
ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.
顺便说一句,python 版本是 3.6.9
为了将来 reader 这里,以下命令目前对我有用:
!pip install apache-beam[gcp]
import apache_beam as beam
我开始学习 beam,发现 google colab 是一个很好的起点(根据我正在学习的课程),但是,第一件事是在 Colab 中安装 beam,它会抛出一些错误当我尝试这样做时:
!{'pip3 install --quiet apache_beam'}
ERROR: pydrive 1.3.1 has requirement oauth2client>=4.0.0, but you'll have oauth2client 3.0.0 which is incompatible.
ERROR: chainer 6.5.0 has requirement typing<=3.6.6, but you'll have typing 3.7.4.1 which is incompatible.
ERROR: chainer 6.5.0 has requirement typing-extensions<=3.6.6, but you'll have typing-extensions 3.7.4.1 which is incompatible.
ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.
顺便说一句,python 版本是 3.6.9
为了将来 reader 这里,以下命令目前对我有用:
!pip install apache-beam[gcp]
import apache_beam as beam