简体   繁体   中英

Installing Python 3 Plugin for IntelliJ IDEA Community Edition

I'm running the latest version of IntelliJ IDEA Community Edition and have Python 3.7 downloaded and installed. The trouble is, my console with IntelliJ is only running Python 2.7. I've tried installing/uninstalling/updating installation but the only Plug-in option with IntelliJ is Community Edition and this seems to be Python 2 .. anyway. How am I able to load Python plug-in (if there is one) for IntelliJ? I'm not able to import Pandas as a result and can't work through code ..

Don't want to go through the route of copying and pasting modules from 3.7 to 2 if I don't need to or if it's going down a bad road so to speak.

I've tried installing/uninstalling/updating installation but the only Plug-in option with IntelliJ is Community Edition and this seems to be Python 2 .. anyway. How am I able to load Python plug-in (if there is one) for IntelliJ? I'm not able to import Pandas as a result and can't work through code ..

As described above .. can't load the plug-in

error: module not found

Took me forever to find.. I have written the steps below :-

  • Close project
  • Configure
  • Structure for New Projects -> SDKs -> Packages
  • Click on Pygame -> Click install package Then at the end Create new project

Picture of where to find pygame.

Please try these steps:

  1. Open "Project Structure | SDKs"
  2. Add new python SDK (choose"System Interpreter" and select installed Python 3 from the dropdpwn list)
  3. Open "Settings/Preferences | Build... | Console | Python Console" and select "Use specified interpreter"

After that "Tools | Python Console" will run with Python 3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM