[fenrir-screenreader] Re: more errors

  • From: john doe <johndoe65534@xxxxxxxx>
  • To: fenrir-screenreader@xxxxxxxxxxxxx
  • Date: Sun, 2 Feb 2020 16:34:19 +0100

On 2/2/2020 4:28 PM, Michael Weaver (Redacted sender weavermicha for
DMARC) wrote:

I have installed setuptools but have the following messages so still
feel I am far from resolving the issue with running Fenrir.

michael@michael-HP-Pavilion-Notebook:~$ pip3 install setuptools
Collecting setuptools
  Downloading
https://files.pythonhosted.org/packages/a7/c5/6c1acea1b4ea88b86b03280f3fde1efa04fefecd4e7d2af13e602661cde4/setuptools-45.1.0-py3-none-any.whl
(583kB)
    100% |████████████████████████████████| 593kB 1.2MB/s
Installing collected packages: setuptools
Successfully installed setuptools-45.1.0
michael@michael-HP-Pavilion-Notebook:~$ pip3 install fenrir-screenreader
Collecting fenrir-screenreader
  Using cached
https://files.pythonhosted.org/packages/b0/cf/4798d41f159a4dced0aa48391ca3e5fb70ecbb42ac2fad7be7141230b29b/fenrir-screenreader-1.9.6.post1.tar.gz

Collecting evdev>=1.1.2 (from fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/89/83/5f5635fd0d91a08ac355dd9ca9bde34bfa6b29a5c59f703ad83d1ad0bf34/evdev-1.3.0.tar.gz

Collecting daemonize>=2.5.0 (from fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/45/ad/1b20db02287afd40d3130a218ac5ce2f7d2ab581cfda29bada5e1c4bee17/daemonize-2.5.0-py2.py3-none-any.whl

Collecting dbus-python>=1.2.8 (from fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/62/7e/d4fb56a1695fa65da0c8d3071855fa5408447b913c58c01933c2f81a269a/dbus-python-1.2.16.tar.gz
(576kB)
    100% |████████████████████████████████| 583kB 1.4MB/s
Collecting pyudev>=0.21.0 (from fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/72/c8/4660d815a79b1d42c409012aaa10ebd6b07a47529b4cb6880f27a24bd646/pyudev-0.22.0.tar.gz
(85kB)
    100% |████████████████████████████████| 92kB 3.7MB/s
Collecting setuptools (from fenrir-screenreader)
  Using cached
https://files.pythonhosted.org/packages/a7/c5/6c1acea1b4ea88b86b03280f3fde1efa04fefecd4e7d2af13e602661cde4/setuptools-45.1.0-py3-none-any.whl

Collecting pexpect (from fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/39/7b/88dbb785881c28a102619d46423cb853b46dbccc70d3ac362d99773a78ce/pexpect-4.8.0-py2.py3-none-any.whl
(59kB)
    100% |████████████████████████████████| 61kB 4.4MB/s
Collecting pyttsx3 (from fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/b7/c3/7317dafc544a4de539f729dd494410f7e095fb72db85ef16269f5e7403f7/pyttsx3-2.81-py3-none-any.whl

Collecting pyte>=0.7.0 (from fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/66/37/6fed89b484c8012a0343117f085c92df8447a18af4966d25599861cd5aa0/pyte-0.8.0.tar.gz
(50kB)
    100% |████████████████████████████████| 51kB 5.5MB/s
Collecting six (from pyudev>=0.21.0->fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl

Collecting ptyprocess>=0.5 (from pexpect->fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl

Collecting wcwidth (from pyte>=0.7.0->fenrir-screenreader)
  Downloading
https://files.pythonhosted.org/packages/58/b4/4850a0ccc6f567cc0ebe7060d20ffd4258b8210efadc259da62dc6ed9c65/wcwidth-0.1.8-py2.py3-none-any.whl

Building wheels for collected packages: fenrir-screenreader, evdev,
dbus-python, pyudev, pyte
  Running setup.py bdist_wheel for fenrir-screenreader ... error
  Complete output from command /usr/bin/python3 -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-yhrljmzq/fenrir-screenreader/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d
/tmp/tmpt_ychpnypip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for fenrir-screenreader
  Running setup.py clean for fenrir-screenreader
  Running setup.py bdist_wheel for evdev ... error
  Complete output from command /usr/bin/python3 -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-yhrljmzq/evdev/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d
/tmp/tmp_gpbl3w0pip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for evdev
  Running setup.py clean for evdev
  Running setup.py bdist_wheel for dbus-python ... error
  Complete output from command /usr/bin/python3 -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-yhrljmzq/dbus-python/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d
/tmp/tmpia7l4m62pip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for dbus-python
  Running setup.py clean for dbus-python
  Running setup.py bdist_wheel for pyudev ... error
  Complete output from command /usr/bin/python3 -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-yhrljmzq/pyudev/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d
/tmp/tmpdyj1ebb2pip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for pyudev
  Running setup.py clean for pyudev
  Running setup.py bdist_wheel for pyte ... error
  Complete output from command /usr/bin/python3 -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-yhrljmzq/pyte/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d
/tmp/tmpttesuz24pip-wheel- --python-tag cp36:
  WARNING: The wheel package is not available.
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for pyte
  Running setup.py clean for pyte
Failed to build fenrir-screenreader evdev dbus-python pyudev pyte
Installing collected packages: evdev, daemonize, dbus-python, six,
pyudev, setuptools, ptyprocess, pexpect, pyttsx3, wcwidth, pyte,
fenrir-screenreader
  Running setup.py install for evdev ... error
    Complete output from command /usr/bin/python3 -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-yhrljmzq/evdev/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-8k54ft81-record/install-record.txt
--single-version-externally-managed --compile --user --prefix=:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    creating build/lib.linux-x86_64-3.6/evdev
    copying evdev/device.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/__init__.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/ff.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/eventio.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/util.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/evtest.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/ecodes.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/events.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/genecodes.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/eventio_async.py -> build/lib.linux-x86_64-3.6/evdev
    copying evdev/uinput.py -> build/lib.linux-x86_64-3.6/evdev
    running build_ext
    running build_ecodes
    writing ecodes.c (using /usr/include/linux/input.h
/usr/include/linux/input-event-codes.h /usr/include/linux/uinput.h)
    building 'evdev._input' extension
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/evdev
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c evdev/input.c -o
build/temp.linux-x86_64-3.6/evdev/input.o -std=c99
-Wno-error=declaration-after-statement
    evdev/input.c:10:10: fatal error: Python.h: No such file or directory
     #include <Python.h>
              ^~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-yhrljmzq/evdev/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-8k54ft81-record/install-record.txt
--single-version-externally-managed --compile --user --prefix=" failed
with error code 1 in /tmp/pip-build-yhrljmzq/evdev/
michael@michael-HP-Pavilion-Notebook:~$


You need to install the 'wheel' package.

$ pip3 install wheel

--
John Doe
--------------------------------------------
MailingList: fenrir-screenreader@xxxxxxxxxxxxx
Website: https://linux-a11y.org
Wiki: https://wiki.linux-a11y.org/doku.php?id�nrir
Code: https://github.com/chrys87/fenrir
IRC Live Support:
Network: irc.linux-a11y.org
Room: #a11y

Other related posts: