【error: The folder you are executing pip from can no longer be found 和No module named “seaborn“】

error: The folder you are executing pip from can no longer be found 和No module named "xxx"系列问题

- error: The folder you are executing pip from can no longer be found

- No module named “seaborn”

- No module named “thop”

1、error: The folder you are executing pip from can no longer be found

  • 在这里插入图片描述

  • 解决方法

  • 1、将当前正在运行的terminal关闭,然后再打开一个新的terminal即可;

  • 2、退出当前所处的conda环境,重新进入激活conda环境即可。

2、ModuleNotFoundError:No module named “seaborn”

  • 在这里插入图片描述

  • 解决方法

    pip install seaborn
    
  • 在这里插入图片描述

3、ModuleNotFoundError:No module named “thop”

  • 解决方法

    pip install thop
    
  • 在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/crist_meng/article/details/124095716