Difference between revisions of "PyCharm"

From PrattWiki
Jump to navigation Jump to search
(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...")
 
Line 1: Line 1:
 
This is a sandbox for setting up and using PyCharm as a potential replacement for Spyder.
 
This is a sandbox for setting up and using PyCharm as a potential replacement for Spyder.
  
* Install Anaconda [https://www.anaconda.com/distribution/]
+
* Install Anaconda [https://www.anaconda.com/distribution/ Download page]
 
* Install Kite
 
* Install Kite
 
* Update Anaconda
 
* Update Anaconda
 
  conda update conda
 
  conda update conda
 
  conda update --all
 
  conda update --all
* Get PyCharm for Anaconda [https://www.jetbrains.com/pycharm/promo/anaconda/]
+
* Get PyCharm for Anaconda [https://www.jetbrains.com/pycharm/promo/anaconda/ Download page]
 
** Students can use the Professional Edition for free for school use
 
** Students can use the Professional Edition for free for school use
 
* At main window, configure settings
 
* At main window, configure settings

Revision as of 22:21, 24 December 2019

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

conda update conda
conda update --all
  • Get PyCharm for Anaconda Download page
    • 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.