dkv
dkv

Reputation: 7302

How to import/export Spyder preferences?

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.

Upvotes: 7

Views: 5086

Answers (2)

Stefatronik
Stefatronik

Reputation: 332

On my computer I have a file c:\users\xxx.spyder-py3\config\spyder.ini

This file is used by both, Spyder 4.2.5 in Anaconda base environment and by Spyder 5 in a separate venv.

Upvotes: 3

Carlos Cordoba
Carlos Cordoba

Reputation: 34156

(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

Upvotes: 8

Related Questions