我正在运行pip2 install selenium, 然后运行pip2安装请求。我对python脚本做了一些操作(我忘了它是什么), 但是之后我又回到了cmd, 并说pip不被识别为内部或外部…有什么办法可以解决此问题?
#1
如果要安装某些东西, 请尝试:
python -m pip install [package name]
我以前尝试过, 即使没有找到点子也对我有用。
#2
如果你确实卸载了pip, 则需要从源代码重新安装。首先, 你需要下载软件包。
卷曲https://bootstrap.pypa.io/get-pip.py -o get-pip.py
然后, 你需要导航到刚刚下载软件包的文件夹, 并使用python解释器运行脚本。
python get-pip.py
or
python3 get-pip.py
如果还没有的话, 这还将安装wheel和setuptools。完整说明可在pip网站https://pip.pypa.io/en/stable/installing/中找到
来源:
https://www.srcmini02.com/57962.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_35264.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57