Python Error: "Importerror:no module named six" to solve dependency problems with automatic installation

Source: Internet
Author: User
When the program with the Matplotlib package is first run, it is told that the module is missing (as shown in the title). After searching for the survey, I found that the installation package was missing in Python's own installation, then downloaded, installed, run, and then downloaded, run, ...

If only one or two dependent modules are okay to say, but if you reach an order of magnitude, believe that no one can stand. In addition to the Python module library, most of the modules are no longer available in the Windows environment of the installation package, and the Windows environment of the decompression, installation and not so smooth in the Linux environment, to solve this problem can eliminate a lot of unnecessary trouble.

Just as the Apt-get command in Linux can be related automatically depending on dependencies, the PIP tool in Python has the same benefits. For example, the previously mentioned matplotlib issue, using PIP installation under the CMD control interface

The PIP will also be installed in the process of automatic installation, such as Six,dateuil and other modules that may not be involved in other programs.

Update the module with PIP, but note that some modules need to be uninstalled before installing the old version

Python Error: "Importerror:no module named six" to solve dependency problems with automatic installation

Related Article

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.