The most detailed Python third-party library Add method and error resolution method

Source: Internet
Author: User

(1): How to add a Python third-party library (method one):

File->> Settings ...->> Project interpreter

(2): How to add a Python third-party library (method two):

Steps:

1, the win key +r, input "cmd" to bring up the command window;

2, enter: python-m pip install--upgrade pip first upgrade the PIP installation command, otherwise you may install third-party libraries and plug-ins failed;

3. Install the third-party library you need, for example: Pywin32.

Input: Pip install Pywin32, then enter

4, Done!

Note: Some third-party library two methods are not successful installation, it may be because of foreign server problems, you can choose a similar function of the library to replace.

Note: Some third-party library two methods are not successful installation, it may be because the computer lacks a variety of operating environment, to be patient, the computer's environment are configured well.

Error Resolved: Link:fatal error LNK1158: Unable to run the "Rc.exe" workaround

1. The following error occurred (two cases of the same error):

Error reason analysis: You do not have Visual Studio 201X software installed, there are environment variables can be used here, so you need to download a C + + development software, for example: Visual studio 2017. It is best to select the default path when installing, if you do not want to select the default path you need to follow my other blog post: https://www.cnblogs.com/chuijingjing/p/9159209.html

Concrete Solution: Https://www.cnblogs.com/chuijingjing/p/9159209.html

Once the problem is resolved, the installation can succeed in the normal order.

The most detailed Python third-party library Add method and error resolution method

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.