Pycharm+Anaconda does not introduce libraries when creating projects. I'm desperate to ask the bosses for help.

here are the steps to create a project for me. It is found that the library reference is less than
1 after selecting conda: create a project, select Conda

clipboard.png

2:

clipboard.png

3:

clipboard.png

4

clipboard.png

Mar.20,2021

add Anaconda python.exe. to Files > > Default Settings (or Settings) > Project Interpreter > > Add local of Pycharm After application, you can call various Anaconda libraries


I just think it took me about 3 hours, maybe more. I searched for a lot of information on the Internet, and I tried to reinstall it. As a result, I tried it all over and over again. Here's how to solve it.

description of the short answer: I used conda to create a virtual environment for py36. Download the package for scrapy, then create a project for scrapy and open it with pycharm. Set Interpreter to py36. There is no problem with running the project, but there is a red underline under the imported scrapy, and you can't click to jump.

the solution process is not detailed, just say:

  1. which python environment does your external libraries use? (py27 created by conda that I have been using here)
  2. If the
  3. external libraries is wrong, you can't delete it directly, so I delete the corresponding py27, and then pycharm asks you to reassign the Interpreter. At this time, I specified it as py36, external libraries and changed it at once, and finally I can click Jump
  4. .
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b41586-2c592.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b41586-2c592.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?