Difference between revisions of "PyCharm"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
* Get PyCharm for Anaconda [https://www.jetbrains.com/pycharm/promo/anaconda/ Download page] | * 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 | + | ** For the "plugiun Setup" |
+ | *** You will likely want the 64-bit launcher shortcut created | ||
+ | *** You will likely also want the '''Add "Open Folder as Project"''' | ||
+ | *** For the Start Menu Folder, leaving this as JetBrains is fine | ||
+ | *** Pick your theme; there is more information below about different ways to configure appearance | ||
+ | *** You will not need any of the additional plugins. | ||
+ | *** You will not need any of the additional tools. | ||
+ | * At "Welcome to PyCharm" window, click "Configure" at bottom right and then "Settings" | ||
** Project Interpreter | ** Project Interpreter | ||
*** At top right, click settings gear icon and then Add | *** At top right, click settings gear icon and then Add | ||
**** In Conda Environment, pick latest Python version available | **** In Conda Environment, pick latest Python version available | ||
+ | **** Select the path to Conda Executable and navigate to something similar to: | ||
+ | C:\Users\USER\AppData\Local\Continuum\anaconda3\Scripts\conda.exe | ||
+ | ::::*Once you navigate to your USER folder, you may have to manually type "AddData" in the path window since that folder is typically hidden. | ||
+ | ::* After that is added, there should be a list of packages; you will need to add some to this so click the + near the top right. Once the available packages window comes up, you will want to add: | ||
+ | :::* numpy, scipy, matplotlib, pandas | ||
+ | * Build, Execution, Deployment | ||
+ | ** In Console, pick "Use existing console" | ||
+ | |||
== Starting a new project == | == Starting a new project == | ||
Line 18: | Line 33: | ||
** Pick or create a new folder to work in | ** Pick or create a new folder to work in | ||
** Use existing interpreter for newest version of Python | ** Use existing interpreter for newest version of Python | ||
− | |||
− | |||
− | * | + | Once the project window opens and after indexing is complete: |
− | * | + | * From View menu, pick Scientific mode |
− | + | * From File menu, pick New then Python File. Give the file a name and hit return. | |
− | * Tools -> Python Scientific -> Uncheck Show plots in tool window | + | |
+ | * In File, go to Settings | ||
+ | ** 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. | Most of the time when you change settings you will need to restart the console for them to be applied. |
Latest revision as of 23:16, 24 December 2019
This is a sandbox for setting up and using PyCharm as a potential replacement for Spyder.
Installing Python and PyCharm
- Install Anaconda Download page
- Install Kite
- Update Anaconda
conda update conda conda update --all
- Get PyCharm for Anaconda Download page
- Students can use the Professional Edition for free for school use
- For the "plugiun Setup"
- You will likely want the 64-bit launcher shortcut created
- You will likely also want the Add "Open Folder as Project"
- For the Start Menu Folder, leaving this as JetBrains is fine
- Pick your theme; there is more information below about different ways to configure appearance
- You will not need any of the additional plugins.
- You will not need any of the additional tools.
- At "Welcome to PyCharm" window, click "Configure" at bottom right and then "Settings"
- Project Interpreter
- At top right, click settings gear icon and then Add
- In Conda Environment, pick latest Python version available
- Select the path to Conda Executable and navigate to something similar to:
- At top right, click settings gear icon and then Add
- Project Interpreter
C:\Users\USER\AppData\Local\Continuum\anaconda3\Scripts\conda.exe
- Once you navigate to your USER folder, you may have to manually type "AddData" in the path window since that folder is typically hidden.
- After that is added, there should be a list of packages; you will need to add some to this so click the + near the top right. Once the available packages window comes up, you will want to add:
- numpy, scipy, matplotlib, pandas
- Build, Execution, Deployment
- In Console, pick "Use existing console"
Starting a new project
- Create New Project
- Pick or create a new folder to work in
- Use existing interpreter for newest version of Python
Once the project window opens and after indexing is complete:
- From View menu, pick Scientific mode
- From File menu, pick New then Python File. Give the file a name and hit return.
- In File, go to Settings
- 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.