Closed vickerse1 closed 5 months ago
Can you try running apt-get update && apt-get install libgl1
?
Hi,
It seems that that almost worked, but one or two of the repositories couldn't be accessed (?):
Do you have any ideas about what to do next?
Thanks,
Evan
From: Chris Ki @.> Sent: Monday, December 11, 2023 8:07 PM To: MouseLand/suite2p @.> Cc: Evan Vickers @.>; Author @.> Subject: Re: [MouseLand/suite2p] BUG: GUI doesn't load in suite2p installed in WSL, Import Error: libEGL.so.1, no such file or directory (Issue #1070)
Can you try running apt-get update && apt-get install libgl1?
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/MouseLand/suite2p/issues/1070*issuecomment-1851266992__;Iw!!C5qS4YX3!AGNkxOOPDkZ4r-_hV1olfblGXe6cptPNjUssuArQykmY58h4osme44z2UGjy2aej5WxHi_FIxzmFBOnGK2-LH5i7Ba2H$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AJGCDZQ7RNPIQAXZGXCPBJTYI7KB5AVCNFSM6AAAAABAO5UTWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJRGI3DMOJZGI__;!!C5qS4YX3!AGNkxOOPDkZ4r-_hV1olfblGXe6cptPNjUssuArQykmY58h4osme44z2UGjy2aej5WxHi_FIxzmFBOnGK2-LHzSfU1sO$. You are receiving this because you authored the thread.Message ID: @.***>
What about apt-get update && apt-get install libgl1 --allow-unauthenticated
?
Hi Chris,
I tried this and received the following errors:
....then, when trying to run gui:
Any suggestions? I still cannot run the Suite2p gui either in WSL or Windows w/ user folder containing space in name on my local computer, and I see no safe way of fixing the user folder name issue (i.e. w/o changing the registry, which is apparently unstable?).
Thanks,
Evan
From: Chris Ki @.> Sent: Tuesday, December 12, 2023 10:07 PM To: MouseLand/suite2p @.> Cc: Evan Vickers @.>; Author @.> Subject: Re: [MouseLand/suite2p] BUG: GUI doesn't load in suite2p installed in WSL, Import Error: libEGL.so.1, no such file or directory (Issue #1070)
What about apt-get update && apt-get install libgl1 --allow-unauthenticated?
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/MouseLand/suite2p/issues/1070*issuecomment-1853322893__;Iw!!C5qS4YX3!AHo1JQP3g6kpe37RXvk0jVAl8AeelYew1KOGpBut9vz0HQY80V0_Zbvu3GsIJ5W86_BZ9C4gMty2szE10aY8fOHgyIr4$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AJGCDZR3YBXXP6IJFMXWHCTYJFA3NAVCNFSM6AAAAABAO5UTWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJTGMZDEOBZGM__;!!C5qS4YX3!AHo1JQP3g6kpe37RXvk0jVAl8AeelYew1KOGpBut9vz0HQY80V0_Zbvu3GsIJ5W86_BZ9C4gMty2szE10aY8fIv3-D8L$. You are receiving this because you authored the thread.Message ID: @.***>
Can you try running the commands with sudo attached to the front (ie, sudo apt-get update && apt-get install libgl1 --allow-unauthenticated
)? Then, try running apt-get update && apt-get install libgl1
.
Closing due to inactivity, @vickerse1, feel free to reopen if the issue persists.
Describe the issue:
I installed a gui version of suite2p in WSL (windows subsystem for linux).
Everything works, but when I run "python -m suite2p", I get the following error and the gui does not open:
Traceback (most recent call last): File "/home/vickerse/anaconda3/envs/suite2p/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/vickerse/anaconda3/envs/suite2p/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/mnt/c/suite2p_git_linux/suite2p/suite2p/main.py", line 84, in
main()
File "/mnt/c/suite2p_git_linux/suite2p/suite2p/main.py", line 79, in main
from suite2p import gui
File "/mnt/c/suite2p_git_linux/suite2p/suite2p/gui/init.py", line 4, in
from .gui2p import run
File "/mnt/c/suite2p_git_linux/suite2p/suite2p/gui/gui2p.py", line 7, in
import pyqtgraph as pg
File "/home/vickerse/anaconda3/envs/suite2p/lib/python3.9/site-packages/pyqtgraph/init.py", line 18, in
from .colors import palette
File "/home/vickerse/anaconda3/envs/suite2p/lib/python3.9/site-packages/pyqtgraph/colors/palette.py", line 1, in
from ..Qt import QtGui
File "/home/vickerse/anaconda3/envs/suite2p/lib/python3.9/site-packages/pyqtgraph/Qt/init.py", line 182, in
import PyQt6.QtGui
ImportError: libEGL.so.1: cannot open shared object file: No such file or directory
Should I file a separate github issue for this?
I installed suite2p with the following command:
python -m pip install suite2p[gui]
Should I have installed the developer version instead?
Reproduce the code example:
Error message:
Version information:
Suite2p v0.14.3 Linux (WSL) in Ubuntu 20.04.4 LTS
Context for the issue:
Windows 10. Can't do runs in GUI in Windows because default ops and dbs are in an unchangeable user folder with a space in the name.
so, as a workaround i tried installing in windows subsystem for linux (WSL). however, here the gui doesn't work at all. should it? do I need to install a different version of PyQt6? It seems to be missing libEGL.so.1....do I need a different version of this for linux?
thanks,
evan