(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