1、pycharm中导入模块错误时,提示:Try to run this command from the system terminal. Make sure that you use the correct version of ‘pip’ installed for your Python interpreter located atpycharm工作路径。

解决办法:

pycharm菜单栏 File >> Settings…然后单击Project >> Project Interpreter >> 在里面Project Interpreter界面最右边有个加号,单击加号,然后在搜索框输入keras/tiffile/matplotlib,找到后单击左下方的Install Package即可

2、运行代码时报:selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH.

解决办法:安装与浏览器版本匹配的webdriver,将chromedriver.exe 放入安装的selenium库下。具体可参考:https://blog.csdn.net/weixin_43746433/article/details/95237254

posted on 2020-04-17 16:26  喵小超  阅读(707)  评论(0编辑  收藏  举报