Usage # install pipenv pip3 install pipenv # install all this dependencies cd crawlhtmltopdf pipenv install # run pipenv run python runoob2pdf.py 注: Windows系统安装wkhtmltopdf,将该程序的执行路径加入到系统环境 $PATH 变量中 macOS系统安装wkhtmltopdf