Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

installation of spyder in non-login shell

21 views
Skip to first unread message

Alexis

unread,
Nov 23, 2024, 8:56:59 AM11/23/24
to spyder
Hello, 

First of all, I want to clarify that I am a novice ( and that my English is not very good), hence my questions ;-) 

I am trying to install Spyder on Debian for multi-user use. I am trying to do this installation automatically when the machine starts (before logging in, rc.local). 

For this I use the standalone installers for Linux installation script. (https://github.com/spyder-ide/spyder/releases/latest/download/Spyder-Linux-x86_64.sh

My problem is in the execution of post_install.sh, indeed, I get the error: 

unable to init server: could not connect: connection refused (gtk-launch:15139): 
Gtk-WARNING: cannot open display 
ERROR: executing post_install.sh failed 

Spyder is still installed but when I want to launch it with a user account of the PC, it does not work well (very slow launch, several minutes or no launch at all). 

On the other hand, if I do the installation (by launching the installation script) from my administrator account connected to the graphical interface, everything goes well and other users can use Spyder without problem. 

I think I understood that the problem comes from an installation problem outside the graphical interface, but does anyone have an idea of ​​how to get around the problem and allow the installation of Spyder when starting the PC? 

Thank you for your help.

Have a nice day.

Carlos Córdoba

unread,
Nov 23, 2024, 9:26:54 AM11/23/24
to spyd...@googlegroups.com
Hi,

The problem you reported could be caused due to Spyder being unable to run the post_install script completely.

That part is fixed now, so it'll be possible to install Spyder in batch mode in our next version (6.0.3), to be released in a couple of weeks. Here you can find the instructions on how to run our installer in that way:

https://github.com/spyder-ide/spyder/pull/22876

However, I'm not sure if that will also fix the slow launch problems you mentioned. So, please try again when 6.0.3 is out and let us know what you find.


Cheers,
Carlos

El 20/11/24 a las 4:20, Alexis escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/spyderlib/3e3d4a7f-99ce-4b57-8974-0d7c39dbf9e5n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages