序言:
win10
python3.7
早就已经安装requests,robotframework-requests,也正常使用requests写过代码。
但RF仍然引入失败,如下:
解决方法:
原因是第三方库版本不兼容或有冲突,卸载重装:
卸载:requests和robotframework-requests
pip uninstall requests&&pip uninstall robotframework-requests
重装:requests和robotframework-requests
pip install requests&&pip install robotframework-requests
报错如下:之前做过的项目安装了很多库,不兼容
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
selen