1. 开机黑屏无法进入登录界面:
开机时在选择系统界面中按 e 进入 grub
有一行中 ro quiet splash
ro 表示read only 会导致一些软件无法写入数据, 将其改为 rw
为了排除独立显卡原因,在splash 后面加 nomodeset 然后F10保存
开机后系统报错,可能内核运行出了问题
sudo apt update
sudo apt upgrade 更新自己的系统
然后 sudo apt install -f 和sudo apt autoremove 来无副作用的删除旧内核
2. python3 与 selenium 问题:
问题:
python3 selenium模块使用出错解决,Message: 'geckodriver' executable needs to be in PATH
解决步骤:
1、https://github.com/mozilla/geckodriver/releases 下载对应版本 geckodriverckod
(个人使用ubuntu16.04 下载的版本 https://pan.baidu.com/s/1LNmy3ylZsO5ViYzQmgUBfA)
2、解压,然后将解压后文件复制到 /usr/local/bin/ 路径下即可