背景: python逆向爬虫时调用execjs报错UnicodeDecodeError: 'gbk'
报错详细信息
UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 85: illegal multibyte sequence
分类标签归档:python
UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 85: illegal multibyte sequence
from PyQt5.QtCore import Qt, QRegExp
from PyQt5.QtGui import QRegExpValidator, QDoubleValidator, QIntValidator
def validator_int(component, int_min=0, int_max=8000):...1、 安装 jupyterlab,代码补全,中文等
pip install jupyterlab
//或者
conda install -c conda-forge jupyterlab
pip install jupyter-lsp
pip install jupyterlab-lsp
pip install python-lsp-server
pip install jupyterla...1、先去官网下载 Windows embeddable package包 2、解压后,下载:get-pip.py到文件夹下 3、使用 python get-pip.py 命令安装pip 4、修改文件:python版本._pth,去掉import site前面的#号注释 5、可以进入Scripts文件夹下,看pip命令是否正常使用了