问题:在windows安装redis-py模块后,eclipse中import redis时报错Unresolved import requests。

网上的处理方法很多,如:https://blog.csdn.net/chris_111x/article/details/52312523 ,其他模块的处理类似。
解决方法:
打开eclipse后,点击Window->Preferences->PyDev->Interpreters->Python Interpreter选项,下图步骤4中,输入模块名称。
解决windows eclipse Pydev中import时报错Unresolved import requests的方法

然而还是没能解决我的问题,通过各种试,终于解决:
删除图中条目,重新添加,会自动重新加载一次lib,即可。
解决windows eclipse Pydev中import时报错Unresolved import requests的方法

相关文章:

  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
  • 2022-01-04
  • 2021-12-25
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
猜你喜欢
  • 2021-06-27
  • 2021-07-11
  • 2021-10-01
  • 2021-09-23
  • 2021-12-27
相关资源
相似解决方案