wxpython A20

Started by ebelouet, June 29, 2014, 11:15:58 PM

Previous topic - Next topic

ebelouet

HI,

i TRY PYTHON PROGRAM WITH WX GRAPHIC AND i HAVE THIS :

Unable to access the X Display, is $DISPLAY set properly?

Where is mistake ?

Sincerely
Eric

martinayotte

This kind of message is usually that the DISPLAY environment variable is not set.

You should do something like "export DISPLAY=:0" before trying your wxPython program.

(even better : you can add this command to .bashrc so it will be set on every login)