Book Image

Mastering PyCharm

By : Nafiul Islam
Book Image

Mastering PyCharm

By: Nafiul Islam

Overview of this book

Table of Contents (18 chapters)
Mastering PyCharm
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Troubleshooting on Mac


One problem I faced when I first set up my Mac was that the keyboard shortcuts did not work; instead of getting the desired action, I got weird Greek letters appearing here and there. At first, I thought this was PyCharm's fault, but it wasn't.

The main problem was that the keyboard layout I was using, U.S., had special characters appearing when the Alt/Option key was pressed. In order to actually use my keyboard shortcuts, I had to change my layout to something that did not have these special characters appearing. Here is the solution to this problem.

  1. Download the key mapping file from Packt's website.

  2. After you've downloaded it, move it to ~/Library/Keyboard Layouts.

  3. Once you've saved the file there, all you need to do is make it your main keyboard layout. To do this, you need to head over to System Preferences:

    1. Go to Keyboard:

    2. And then, choose to add a new one by clicking on the + button:

    3. Choose Others, as shown in the following screenshot:

    4. Once you've added it, you can...