pyton 3.8.5 编译
./configure --prefix=/usr/local/python3
./configure --prefix=/usr/local/python3 --enable-optimizations --with-ssl
linux设置pip镜像源
创建.pip目录
mkdir ~/.pip
cd ~/.pip
创建pip.conf文件
touch pip.conf
编辑该文件
vim pip.conf
设置阿里源
[global]
trusted-host = mirrors.aliyun.com
index-url = https://mirrors.aliyun.com/pypi/simple
sz、rz install
yum -y install lrzsz
安装依赖
yum install liberation-fonts -y
yum install vulkan -y
yum -y install redhat-lsb*
yum -y install libXss*
yum -y install libappindicator*
yum -y install libgbm
下载google-chrome RPM
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
安装google-chrome
rpm -ivh google-chrome-stable_current_x86_64.rpm
查看google-chrome版本
google-chrome --version
mac chromedrive install
- pip install selenium
- http://chromedriver.storage.googleapis.com/index.html 选择合适的版本进行安装。
- 安装目录:/usr/local/bin
网友评论