Home >Backend Development >Python Tutorial >python提示No module named images的解决方法

python提示No module named images的解决方法

WBOY
WBOYOriginal
2016-06-16 08:41:251191browse

本文讲述了python提示No module named images的解决方法,非常实用!分享给大家供大家参考。具体方法如下:

出现提示:ImportError: No module named images

表示找不到images模块

可将:

import images

替换为:

import wx.py.images as images

将:

images.getNewBitmap

替换为:

images.getPyBitmap()

即可解决问题。

希望本文所述对大家的Python程序设计有所帮助。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn