Spyder: can't connect to X server

Created on 1 Sep 2016  ·  3Comments  ·  Source: spyder-ide/spyder

Description of your problem

Everytime I run spyder from the command line it keeps giving me this error: "Spyder: cannot connect to X server"
What steps will reproduce the problem?

  1. ~$ spyder
  2. Spyder: cannot connect to X server

I'm running Python 3.5 Anaconda on Windows Subsystem for Linux (Bash on Ubuntu on Windows)

Most helpful comment

It is working fine for me,

better run commands from cmd or powershell,
bash
just use
export DISPLAY=:0.0
then type
spyder

i recommend using xming,

I also installed anaconda distribution, so, spyder was already packed in.

my sys is windows 10. I am using WSL

All 3 comments

That's not a supported platform by us, sorry :-(

So you're on your own to make things work. Here are some tips to do it:

http://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/

It is working fine for me,

better run commands from cmd or powershell,
bash
just use
export DISPLAY=:0.0
then type
spyder

i recommend using xming,

I also installed anaconda distribution, so, spyder was already packed in.

my sys is windows 10. I am using WSL

spyder with python 2.7 works.

spyder with python 3.x, a.k.a spyder3 does not, complains that the server (Xming) dors dot support Xinput 2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

keith-golden picture keith-golden  ·  3Comments

gabrielclow picture gabrielclow  ·  3Comments

yousefoleyaei picture yousefoleyaei  ·  3Comments

danieltomasz picture danieltomasz  ·  3Comments

ok97465 picture ok97465  ·  3Comments