安装后无法找到sketch库

我通过pip3 install sketch 安装了sketch,
但是在jupyter中还是提示ModuleNotFoundError: No module named 'sketch'。

应该是你有多个python环境,pip3安装sketch的环境和jupyter中的环境不一样

【相关推荐】



  • 这篇博客: Ubuntu 安装和使用 jupyter 出现的问题总结中的 1、在终端中输入‘sudo pip3 install jupyter’, 出现黄色的‘warring',如下: 部分也许能够解决你的问题, 你可以仔细阅读以下内容或跳转源博客中阅读:
    The directory '/home/stone/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/stone/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
    

    解决方法:

    在sudo 后面添加-H
    sudo -H pip3 install jupyter


如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^