[PYTHON] How to improve when Spyder's editor is very heavy in Mavericks

I've been writing Python code in Spyder for some time, but when I moved from Ubuntu 13.04 to Mavericks, the editor was too heavy and I got stressed when moving the cursor.

After various searches, it seems that Mavericks' App Nap is having an adverse effect. spyderlib issue1623

Solution

The solution seems to be different depending on how you installed Spyder.

When the package is installed

Disable AppNap.

Disable from "Get Info"

spyder.gif

Disable from terminal

cd /Application/Utilities
defaults write org.spyder-ide NSAppSleepDisabled -bool YES

When installing from source code

First, get a module called appnope

pip install appnope

Then edit spyderlib / start_app.py and add the following line to the beginning of the import statement:

import appnope

My Spyder is now lighter. If anyone is heavy and in trouble, it might be worth a try.

Recommended Posts

How to improve when Spyder's editor is very heavy in Mavericks
How to change editor color in PyCharm
How to use is and == in Python
How to improve model metric monitoring in Amazon SageMaker
How to write a string when there are multiple lines in python
How to turn the for statement when there are multiple values for one key in the dictionary
How to check when python-memcached server could not be connected
How to improve when Spyder's editor is very heavy in Mavericks
How to access with cache when reading_json in pandas
How to exit when using Python in Terminal (Mac)
How to delete "(base)" that appears in the terminal when Anaconda is installed on Mac
How to test that Exception is raised in python unittest
How to update user information when logging in to Django RemoteUserMiddleware
How to specify command line arguments when debugging in PyCharm
How to develop in Python
How to not escape Japanese when dealing with json in python
How to display formulas in latex when using sympy (> = 1.4) in Google Colaboratory
How to give and what the constraints option in scipy.optimize.minimize is
How to use the asterisk (*) in Python. Maybe this is all? ..
[Ln] How to paste a symbolic link in a directory is complicated
How to visualize where misclassification is occurring in data analysis classification
What to do when the value type is ambiguous in Python?
Automatically convert to py file when ui file is updated in PySide
How to write what to do when an application is first displayed in Qt for Python with Designer
How to handle session in SQLAlchemy
How to use classes in Theano
How to write soberly in pandas
How to collect images in Python
How to update Spyder in Anaconda
How to use SQLite in Python
How to add sudo when debugging
How to convert 0.5 to 1056964608 in one shot
How to reflect CSS in Django
How to kill processes in bulk
How to use Mysql in python
How to wrap C in Python
How to use ChemSpider in Python
How to use PubChem in Python
How to run TensorFlow 1.0 code in 2.0
How to handle Japanese in Python
How to log in to Docker + NGINX
How to call PyTorch in Julia
[PostgreSQL] How to grant superuser authority when the user (role) with superuser authority is 0
How to hide the command prompt when running python in visual studio 2015
How to write a string when there are multiple lines in python
What to do when the warning "The environment is in consistent ..." appears in the Anaconda environment
How to automatically notify by phone when the python system is down
What to do when a warning message is displayed in pip list