在AWS EC2 Linux实例上安装Chrome时出错:未找到scaling_cur_freq和scaling_max_freq

the*_*att 9 linux google-chrome amazon-ec2 selenium-chromedriver

我正在尝试在 AWS EC2 实例上安装 Chrome(与 Chromedriver / selenium 一起使用),但出现了以前从未见过的错误。我能够一致地重现,但在谷歌上找不到任何关于该怎么做的信息。

重现步骤:

  1. 启动新的 EC2 实例(Amazon Linux 2、64 位 x86、t2.Micro)
  2. 连接到实例并运行以下命令:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
sudo yum install -y ./google-chrome-stable_current_*.rpm
google-chrome & 
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

[1122/164219.101517:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[1122/164219.101672:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
Run Code Online (Sandbox Code Playgroud)

非常感谢对此的任何建议 - 谢谢!