PyCharm

From PrattWiki
Revision as of 04:22, 18 December 2019 by DukeEgr93 (talk | contribs) (Created page with "This is a sandbox for setting up and using PyCharm as a potential replacement for Spyder. * Install Anaconda [https://www.anaconda.com/distribution/] * Install Kite * Update...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a sandbox for setting up and using PyCharm as a potential replacement for Spyder.

  • Install Anaconda [1]
  • Install Kite
  • Update Anaconda
conda update conda
conda update --all
  • Get PyCharm for Anaconda [2]
    • Students can use the Professional Edition for free for school use
  • At main window, configure settings
    • Project Interpreter
      • At top right, click settings gear icon and then Add
        • In Conda Environment, pick latest Python version available

To start work:

  • Create New Project
    • Pick or create a new folder to work in
    • Use existing interpreter for newest version of Python
    • From View menu, pick Scientific mode
    • From File menu, pick New then Python File. Give the file a name and hit return.

Other settings: In File, go to Settings

  • Build, Execution, Deployment
    • In Console, pick "Use existing console"
  • Tools -> Python Scientific -> Uncheck Show plots in tool window

Most of the time when you change settings you will need to restart the console for them to be applied.