[英]Modules that Have been installed in PIP not appearing in PyCharm via the import function
I have recently started learning Python using PyCharm on Windows 10. I am trying to use PIP to install modules (I have tried Pillow, Pygame and randomword). I have recently started learning Python using PyCharm on Windows 10. I am trying to use PIP to install modules (I have tried Pillow, Pygame and randomword). When I try to install these, PIP says that I was successful and the module comes up when I use
Pip freeze
.当我尝试安装这些时, PIP 说我成功了,当我使用
Pip freeze
时模块出现了。 However When I try to import them into Pycharm using the from import
function.但是,当我尝试使用
from import
function 将它们导入 Pycharm 时。 The module is not found.未找到该模块。 I cannot locate the module in the LIB folder as well.
我也无法在 LIB 文件夹中找到该模块。 What do I need to do to have these modules appear in python, Many Thanks,
我需要做什么才能让这些模块出现在 python 中,非常感谢,
Did you make sure you installed the module with the right pip?你确定你用正确的 pip 安装了模块吗?
I mean, many people with have more than one python editor installed, and so, there will be multiple pips.我的意思是,很多人安装了不止一个 python 编辑器,所以会有多个点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.