Python prompts No module named images solution, pythonnamed

Source: Internet
Author: User

Python prompts No module named images solution, pythonnamed

This article describes how to solve the problem of No module named images in python. It is very practical! Share it with you for your reference. The specific method is as follows:

Prompt: ImportError: No module named images

The images module cannot be found.

You can set:

Import images

Replace:

Import wx. py. images as images

Set:

Images. getNewBitmap

Replace:

Images. getPyBitmap ()

To solve the problem.

I hope this article will help you with Python programming.


Python problem: No module named **

Does the mdp module you have installed write for python 3.0 or something? Maybe the version does not match.

Python: import sgmllib: ImportError: No module named sgmllib what should I do?

Sgmllib introduces python after 2.6 and the library is removed after 3.0. If your python version <2.6 or> = 3.0, you cannot find this module.
If you want to use existing code that depends on sgmllib, install Python and other appropriate versions. To migrate to the 3.0 environment, you can use html. parser. HTMLParser

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.