datalad / datalad-gooey

A graphical user interface for DataLad (datalad.org)
https://docs.datalad.org/projects/gooey
Other
4 stars 6 forks source link

Support WSL2 #402

Open mih opened 1 year ago

mih commented 1 year ago

https://www.sitepoint.com/wsl2/

adswa commented 1 year ago

Is there anything special about WSL2? The link seems like a general installation instruction for WSL2 on Windows.

I've tried to pip install datalad-gooey from within WSL2 on Windows 11 in a freshly created virtualenv with Python 3.7 - it indeed doesn't work out of the box, the issue at the moment seem to be missing shared libraries (I doubt this is WSL specific, I've seen similar QT errors on juseless, too, and WSL2 probably is so underquipped I haven't yet figured out which basic libraries are yet to be installed). The sequence of errors I encountered so far is as follows:

no module named 'attrdict'

(solved with pip install attrdict)

Building wheel for wxpython (setup.py) ... error
[...]
The development files for GTK+ were not found. 
[...]

(sudo apt install libgtk-3-dev)

$ datalad gooey 
Could not load the QT platform plugin even though it was found