第一步:以管理员身份运行cmd窗口
第二步:
1 先输入:python
2 输入:
import sys sys.executable
然后复制路径
第三步:打开pycharm的file下面选择Setting
第四部:依次选择Project Interpreter后选择Add Python Interpreter
第五步:选择 Virtual env Environment----->Existing environment然后添加路径,点击OK
查看更多关于安装python库后在pycharm中没有该库的问题的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did125828