playwright部署至winserver相关问题解决

104 阅读1分钟

完美解决pip:ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问

python -m pip install --upgrade pip -i pypi.douban.com/simple --user

playwright python环境运行报错 ImportError: DLL load failed

执行三条语句

pip3 install playwright

python -m playwright install

pip3 install msvc-runtime