Running into issues not on this page? Come chat with course staff in-person after class, during office hours, or look out for an announcement about a PyCharm install help session. Also, check out Ed (under the PyCharm category) or make a new post if you're still stuck!
Our strong recommendation is to use Python 3.12 or later, which can be installed even if you've already got other versions of Python. You may run into issues later in the class if you're using an older version.
If there's another environment that you're more comfortable with, you may use it, but the course staff will only provide support for issues in PyCharm. You must not modify any configuration files provided in assignment starter code.
can't open file image-grid.py: No such file or directory
! What does this mean?
This most often happens when you open the incorrect file or folder in PyCharm. In this case, make
sure to
open the image-grid
folder that directly contains image-grid.py
,
rather than
image-grid.py
itself or a folder containing image-grid
. On a Windows
computer, you may have a folder called image-grid
with another folder inside it
called image-grid
. Make sure to open the inner folder.
To correct this error, open the 'File' menu and click 'Open.' Then, navigate to the correct
image-grid
folder and open it.
Quit out of all PyCharm windows. Go into your computer settings (not PyCharm settings) and search for
"Manage App Execution Aliases."
Click on this, and then you should see a page with lot of switches for various applications. Scroll
to the bottom, and turn off the switches for python.exe
.
If you're still getting this error, try using "py" or "python3" instead of "python" when you enter your command into the terminal - if this works, you should use "py" or "python3" in your terminal commands for the rest of the quarter.
This is likely caused by an issue with how you set up the interpreter. To fix this, click 'Configure Python Interpreter,' and set up the interpreter by following the instructions in section 2: Installing PyCharm on the Installing Pycharm handout.
Note that newer Mac computers have an Apple Silicon Chip, whereas older Macs have Intel Chips. To check which you have, go to the Apple symbol in the upper-left corner of your computer, click "About This Mac," and on that screen, see whether your chip is Apple or Intel.
Un-install the version of PyCharm you currently have, and back on the PyCharm download page, click
the .dmg
dropdown and select either Apple or Intel based on what chip your computer
uses.
You might have downloaded the professional version of PyCharm, which is paid. Un-install PyCharm, and when you re-download it, scroll down to the community version on the PyCharm site and download that version.
Try this:
Try installing this version of PyCharm instead.
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh
. What should I do?
That's just an innocuous message, don't worry about it!
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release.
Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
What should I do?
Do you have the most current version of Python? Try:
Course FAQs will be updated as we receive questions.