Subprocess.popen: 'oserror: [errno 2] No Such File Or Directory' Only On Linux
This is not a duplicate of subprocess.Popen: 'OSError: [Errno 13] Permission denied' only on Linux as that problem occurred due to wrong permissions. That has been fixed and this
Solution 1:
I've tested your espeak
Python wrapper on Linux, and it works for me.
Probably it's just an issue with Windows trailing \r
characters.
You could try the following:
sed -i 's/^M//' espeak4py/__init__.py
To enter the ^M
, type Ctrl-V
followed by Ctrl-M
, and see if running that sed
command solves the issue.
Solution 2:
The Linux binary packaged with the repo is not compatible with the Travis Build Architecture and the binary needs t be built from source before it is executed.
Instructions for buiding: https://github.com/rhdunn/espeak#building-1
Post a Comment for "Subprocess.popen: 'oserror: [errno 2] No Such File Or Directory' Only On Linux"