# Install on Linux - libwebkitgtk-3.0.so.0 issue

**URL:** <https://discourse.psychopy.org/t/install-on-linux-libwebkitgtk-3-0-so-0-issue/8223>\
**Category:** Other\
**Created:** [June 21, 2019, 10:30pm UTC](https://discourse.psychopy.org/t/install-on-linux-libwebkitgtk-3-0-so-0-issue/8223 "2019-06-21T22:30:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yiannis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yiannis/32/35056_2.png) [@Yiannis](https://discourse.psychopy.org/u/Yiannis)\
**Post date:** [June 21, 2019, 10:30pm UTC](https://discourse.psychopy.org/t/install-on-linux-libwebkitgtk-3-0-so-0-issue/8223/1 "2019-06-21T22:30:23Z")

</div>

Hi folks,

After happily using psychopy on Windows machines for years I thought to give it a go on a linux machine.

Instructions followed as per [Installation — PsychoPy v2023.2.3](https://www.psychopy.org/download.html)

After install running psychopy on terminal produces the following error:

> $ psychopy  
> 23:14:22: Debug: Adding duplicate image handler for ‘Windows bitmap file’  
> 23:14:22: Debug: Adding duplicate image handler for ‘Windows bitmap file’  
> 23:14:22: Debug: Adding duplicate image handler for ‘Windows bitmap file’  
> Traceback (most recent call last):  
> File “/usr/local/bin/psychopy”, line 11, in   
> load\_entry\_point(‘PsychoPy==3.1.2’, ‘gui\_scripts’, ‘psychopy’)()  
> File “/usr/local/lib/python3.7/dist-packages/psychopy/app/psychopyApp.py”, line 100, in main  
> start\_app()  
> File “/usr/local/lib/python3.7/dist-packages/psychopy/app/psychopyApp.py”, line 28, in start\_app  
> app = PsychoPyApp(0, showSplash=showSplash)  
> File “/usr/local/lib/python3.7/dist-packages/psychopy/app/\_psychopyApp.py”, line 180, in **init**  
> self.onInit(testMode=testMode, \*\*kwargs)  
> File “/usr/local/lib/python3.7/dist-packages/psychopy/app/\_psychopyApp.py”, line 219, in onInit  
> from psychopy.app import coder, builder, dialogs  
> File “/usr/local/lib/python3.7/dist-packages/psychopy/app/coder/ **init**.py”, line 9, in   
> from .coder import \* # pylint: disable=W0401  
> File “/usr/local/lib/python3.7/dist-packages/psychopy/app/coder/coder.py”, line 22, in   
> import psychopy.app.pavlovia\_ui.menu  
> File “/usr/local/lib/python3.7/dist-packages/psychopy/app/pavlovia\_ui/ **init**.py”, line 19, in   
> from .functions import \*  
> File “/usr/local/lib/python3.7/dist-packages/psychopy/app/pavlovia\_ui/functions.py”, line 13, in   
> from .\_base import PavloviaMiniBrowser, PavloviaCommitDialog  
> File “/usr/local/lib/python3.7/dist-packages/psychopy/app/pavlovia\_ui/\_base.py”, line 9, in   
> import wx.html2  
> File “/home/salos/.local/lib/python3.7/site-packages/wx/html2.py”, line 15, in   
> from .\_html2 import \*  
> ImportError: libwebkitgtk-3.0.so.0: cannot open shared object file: No such file or directory

I found the following [Installing and running psychopy on Ubuntu 18.04 with conda python 3.6 · Issue #2082 · psychopy/psychopy · GitHub](https://github.com/psychopy/psychopy/issues/2082) regarding the libwebkitgtk library but

```auto
sudo apt-get install libwebkit[tab-completion]

```

outputs the following potential libraries

> libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev libwebkit2-sharp-4.0-cil  
> libwebkit2gtk-4.0-37-gtk2 libwebkit2gtk-4.0-doc libwebkit2-sharp-4.0-cil-dev

(yes i did try to sudo install libwebkitgtk-3.0.so.0 but naturally found nothing)

Any guidance tips?

Many thanks  
Yiannis

P.S. The only thing I can think of is that my distro is Ubuntu19 and the latest wxPython wheel is for ubuntu18.04 which is the the one I installed…could that be it?

---

<div class="post-metadata">

**Author:** ![uliw](https://avatars.discourse-cdn.com/v4/letter/u/aca169/32.png) [@uliw](https://discourse.psychopy.org/u/uliw)\
**Post date:** [August 28, 2019, 9:17am UTC](https://discourse.psychopy.org/t/install-on-linux-libwebkitgtk-3-0-so-0-issue/8223/2 "2019-08-28T09:17:59Z")

</div>

Hi,

I have the very same problem on a fresh Debian-10 (Buster) installation. Only libwebkitgtk2 is available, last with 1 was Stretch.

So i downloaded that oldstable libwebkitgtk-1.0-0\_2.4.11-3\_amd64.deb package, and the dependent libjavascriptcoregtk-1.0-0\_2.4.11-3\_amd64.deb as well, installed both without complains.

Then, `psychopy -c` started, but crashed:

> (psychopy:8598): Gtk-WARNING \*\*: 11:11:53.442: GModule (/usr/lib/x86\_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)

---

<div class="post-metadata">

**Author:** ![chrisg](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@chrisg](https://discourse.psychopy.org/u/chrisg)\
**Post date:** [August 18, 2020, 11:32am UTC](https://discourse.psychopy.org/t/install-on-linux-libwebkitgtk-3-0-so-0-issue/8223/3 "2020-08-18T11:32:08Z")

</div>

Hi,

Did anyone manage to find a solution? I have the same issue now trying to install psychopy on ubuntu 20.04.

> ImportError: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory

---

<div class="post-metadata">

**Author:** ![uliw](https://avatars.discourse-cdn.com/v4/letter/u/aca169/32.png) [@uliw](https://discourse.psychopy.org/u/uliw)\
**Post date:** [August 20, 2020, 7:01am UTC](https://discourse.psychopy.org/t/install-on-linux-libwebkitgtk-3-0-so-0-issue/8223/4 "2020-08-20T07:01:40Z")

</div>

No, sadly not, see topic [Unable to properly install psychopy on Ubuntu 20.04](https://discourse.psychopy.org/t/unable-to-properly-install-psychopy-on-ubuntu-20-04/12760)
