Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import/export Spyder preferences?

Tags:

spyder

How do I import/export my custom preferences for Spyder? e.g. if I am installing it on a new machine and would like to import my color/interpreter/keymapping defaults from my original installation.

like image 392
dkv Avatar asked Aug 08 '18 18:08

dkv


People also ask

Where to find Preferences in Spyder?

On macOS, choose Preferences in the Python or Spyder menu. On Windows, choose Preferences in the Tools menu.

Where is Spyder ini?

spyder{-py3}/config (Windows, macOS) or ~/. config/spyder{-py3}/config (Linux) in your home or Users directory. That directory contains a file called spyder. ini , which has all user preferences.

Is Spyder a Python interpreter?

Spyder is a free and open source scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts.

How to reset Spyder in Anaconda?

Q: How do I reset Spyder's preferences to the defaults? Either use the Reset Spyder to factory defaults under Tools in Spyder's menu bar, the Reset Spyder settings Start menu shortcut (Windows), or run spyder --reset in your system terminal (Anaconda prompt on Windows).


1 Answers

(Spyder maintainer here) Sorry, there's no way to import/export our Preferences right now.

However, you can look for a directory called .spyder{-py3}/config (Windows, macOS) or ~/.config/spyder{-py3}/config (Linux) in your home or Users directory. That directory contains a file called spyder.ini, which has all user preferences. You should be able to copy/paste that file among computers without problems (although we haven't tested that).

If you find any trouble with that method, you can reset your preferences by opening a system terminal (cmd.exe, Terminal.app or xterm) and running there

spyder --reset

like image 130
Carlos Cordoba Avatar answered Sep 22 '22 09:09

Carlos Cordoba