In the use of Pycharm installed Scrapy package is encountered a lot of problems. After a toss-up of almost two hours after the installation is finally done. During various Google and Baidu, found all the tutorials are installed using the Command Line window. Find the package you need to install scrapy It's a lot of death. There is no specific installation for pycharm. So here will own installation experience to share, hope to help some pythoner less go some detours (nonsense, the following topic: )
First of all, you must install the Pycharm, and then is the use of the great Pycharm automatic search to install a third-party package, Pycharm can help you find most of the third-party package, do not need you to find and download the internet yourself. He will automatically find the third-party module that matches the Python interpreter you added.
Then I'll tell you where you can use Pycharm to install a third-party package, first open the file in the upper-left corner of Pycharm and find the setting option
When setting is turned on, it is like the selected blue option, and then a third-party package that has already been installed will appear. There is a green plus sign on the right side of the picture that points to the plus sign, and then the following window appears.
Then you want to search for any package directly in the search box, the search will automatically help you to select, and then click on the following intall packages OK. The installation succeeds will give you a hint of a green success message, and if the installation fails there will be a red error hint. If the installation has failed, do not worry, the general installation failure is the reason that you want to install the package also requires the support of other packages, so you go to Baidu Google Bai, see what else you need to pack, and then follow the sequence step by step to the line.
Then start installing the module, now that you want to install the Scrapy package, you will have to install it in the following order.
When you install the twisted package, you are prompted what Microsoft Visual C + + 14.0 is required error.
Baidu and Google a lot of places, said to the next Microsoft Visual C + + 14.0 package, found that CSDN has https://download.csdn.net/download/amoscn/10399046, unfortunately no C currency under.
Later found can be installed by Pycharm's terminal. The steps are as follows
1. Download a twisted Package
Install twisted, enter Http://www.lfd.uci.edu/~gohlk ... Download the corresponding twisted
TWISTED-18.4.0-CP36-CP36M-WIN32.WHL I put it in D:\TWISTED-18.4.0-CP36-CP36M-WIN32.WHL.
Choose the right package based on your Python version, the cp36 in the middle of the name is python3.6 meaning, AMD64 is the number of bits in Python
2, open the Pycharm view->tool windows->terminal
Enter pip install D:\TWISTED-18.4.0-CP36-CP36M-WIN32.WHL install Twisted package in the command window
3, install twisted after successful installation scrapy
Enter PIP Install Scrapy
4. View Package
All of the package is ready to be installed via terminal.
This article was reproduced in: 80443889
Pycharm install package in Microsoft Visual C + + 14.0 is required problem resolution