简体   繁体   English

ModuleNotFoundError:没有名为“PIL”的模块用于虚拟环境

[英]ModuleNotFoundError: No module named 'PIL' For virtual Environment

The Pillow library is installed for my Python environment my_proj still it is throwing the Error PIL module is not there.为我的 Python 环境my_proj安装了 Pillow 库,但它仍然抛出错误 PIL 模块不存在。 在此处输入图像描述

Please check your python actual path which you use currently I think in your system python is installed two or more times so your working python directory is different and pip has installed the package at another python directory. Please check your python actual path which you use currently I think in your system python is installed two or more times so your working python directory is different and pip has installed the package at another python directory.

I think python install with a default path like我认为 python 使用默认路径安装,例如

===== In my case Python's defalt path is like this ===== ===== 在我的情况下,Python 的默认路径是这样的 =====

C:\Users\Administrator\AppData\Local\Programs\Python\Python310   

===== In your case Python's defalt path is like this ===== ===== 在您的情况下,Python 的默认路径是这样的 =====

C:\Users\<Your Username>\AppData\Local\Programs\Python\Python310

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ModuleNotFoundError:Fusion360 环境中没有名为“PIL”的模块 - ModuleNotFoundError: No module named 'PIL' in Fusion360 environment ModuleNotFoundError:没有名为“PIL”的模块,ImageTk - ModuleNotFoundError: No module named 'PIL', ImageTk Django ModuleNotFoundError:没有名为“PIL”的模块 - Django ModuleNotFoundError: No module named 'PIL' 无法导入 PIL ModuleNotFoundError: No module named &#39;PIL&#39; - can not import PIL ModuleNotFoundError: No module named 'PIL' 虚拟环境模块(ModuleNotFoundError) - Virtual Environment Module ( ModuleNotFoundError) ModuleNotFoundError:没有名为“django”的模块,具有虚拟环境 Python3.8 - ModuleNotFoundError: No module named 'django', with virtual environment Python3.8 如何解决 ModuleNotFoundError:虚拟环境中没有名为“skimage”的模块 - How do i resolve ModuleNotFoundError: No module named 'skimage' in virtual environment ModuleNotFoundError:在虚拟环境中运行服务器时没有名为“django”的模块 - ModuleNotFoundError: No module named 'django' while running server in virtual environment Heroku PIL ModuleNotFoundError:没有名为“图像”的模块 - Heroku PIL ModuleNotFoundError: No module named 'Image' Python 3.8 ModuleNotFoundError:没有名为“PIL”的模块 - Python 3.8 ModuleNotFoundError: No module named 'PIL'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM