PlayOnLinux cannot find Python

Briefly describe your issue below:

When launching PlayOnLinux as user, it complains that it can’t find python. Python2.7 and Python3 are both installed and working.

It finds python as root (but won’t run with those privliges).


What version of Parrot are you running? (include version, edition, and architecture)

Parrot Security 4.2.2 64-bit x86 Security edition

What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)

Standard

Configured to multiboot with other systems? (yes / no)

No

If there are any similar issues or solutions, link to them below:

No

If there are any error messages or relevant logs, post them below:

Reading profile /etc/firejail/playonlinux.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Parent pid 4928, child pid 4929
Child process initialized in 83.40 ms
Looking for python... 
Looking for python2.7... 
Looking for python2.6... 
Looking for python2... 
Please install python before trying to run this program

Parent is shutting down, bye...

Root:

Looking for python... 2.7.15+ - wxversion(s): 3.0-gtk3
selected
PlayOnLinux is not supposed to be run as root. Sorry

You should create it a custom profile if you dont want to use --noprofile each time.

1 Like

open a terminal

type:
sudo nano /etc/firejail/playonlinux.local

enter these lines:

#Allow access to python
noblacklist ${PATH}/python*
noblacklist /usr/lib/python*
noblacklist /usr/share/py*
noblacklist /usr/include/python*
noblacklist /usr/share/python*

Ctrl+o
Hit Enter
Ctrl+x

Run Playonlinux.

I hope this is helpful. Have fun!

Hey it works Thanks !