Could not build wheels for cryptography which use PEP 517 and cannot be installed directly

问题描述

pip install selenium安装报错:Could not build wheels for cryptography which use PEP 517 and cannot be installed directly。
在这里插入图片描述


原因分析:

pip未安装或者未更新。


解决方案:

方法一:使用easy_install -U pip升级pip。
在这里插入图片描述
方法二:使用python -m pip install -U --force-reinstall pip强制安装pip。

上述两种方式任一即可,博主使用第一种就已经成功了。
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_41250372/article/details/125136472