python - easyprocess.EasyProcessCheckInstalledError: cmd=['Xvfb', '-help'] OSError=[Errno 2] No such file or directory -
i'm trying setup display it's telling me no such file or directory
.
traceback (most recent call last): file "/var/www/envs/venv/proj/scripts/my_file.py", line 44, in click display = display(visible=0, size=(800,600)) file "/usr/lib/python2.6/site-packages/pyvirtualdisplay/display.py", line 33, in __init__ self._obj = self.display_class( file "/usr/lib/python2.6/site-packages/pyvirtualdisplay/display.py", line 51, in display_class cls.check_installed() file "/usr/lib/python2.6/site-packages/pyvirtualdisplay/xvfb.py", line 38, in check_installed ubuntu_package=package).check_installed() file "/usr/lib/python2.6/site-packages/easyprocess/__init__.py", line 209, in check_installed raise easyprocesscheckinstallederror(self) easyprocess.easyprocesscheckinstallederror: cmd=['xvfb', '-help'] oserror=[errno 2] no such file or directory program install error!
you need install either xvfb
package, or possibly xvfbwrapper
:
first check , see if xvfb installed:
xvfb -help
if command not found can install xvfb
package following command (or whichever package manager use):
sudo apt-get install xvfb
xvfbwrapper python wrapper running display inside x virtual framebuffer (xvfb).
you can install with:
pip install xvfbwrapper
the error getting seems result of either command or module not being found.
Python - Easyprocess.Easyprocesscheckinstallederror:
ReplyDeleteCmd=[Xvfb, -Help] Oserror=[Errno 2] No Such File Or Directory - >>>>> Download Now
>>>>> Download Full
Python - Easyprocess.Easyprocesscheckinstallederror:
Cmd=[Xvfb, -Help] Oserror=[Errno 2] No Such File Or Directory - >>>>> Download LINK
>>>>> Download Now
Python - Easyprocess.Easyprocesscheckinstallederror:
Cmd=[Xvfb, -Help] Oserror=[Errno 2] No Such File Or Directory - >>>>> Download Full
>>>>> Download LINK wN