Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Error while installing python-uinput on Debian Linux

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
saadrafey
Posts: 1
Joined: 2015-11-07 12:26

Error while installing python-uinput on Debian Linux

#1 Post by saadrafey »

am getting an error when trying to install uinput on Debian Linux(Kernel Version 3.8.13) by command below:

Code: Select all

pip-3.2 install python-uinput
Error is below:

Code: Select all

 Downloading from URL https://pypi.python.org/packages/source/p/python-uinput/python-uinput-0.10.2.tar.gz#md5=abbbbfc50d03a0585a5231d9396f78bd (from https://pypi.python.org/simple/python-uinput/)
  Running setup.py egg_info for package python-uinput

    Traceback (most recent call last):

      File "<string>", line 14, in <module>

      File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode

        return codecs.ascii_decode(input, self.errors)[0]

    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 957: ordinal not in range(128)

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode

    return codecs.ascii_decode(input, self.errors)[0]

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 957: ordinal not in range(128)

----------------------------------------

Command python setup.py egg_info failed with error code 1 in /home/debian/Desktop/waveshare-7inch-touchscreen-driver/build/python-uinput/build/python-uinput

Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 104, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 245, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 1009, in prepare_files
    req_to_install.run_egg_info()
  File "/usr/lib/python3/dist-packages/pip/req.py", line 225, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/lib/python3/dist-packages/pip/__init__.py", line 256, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in /home/debian/Desktop/waveshare-7inch-touchscreen-driver/build/python-uinput/build/python-uinput

I am unable to understand why I am getting this error and how to resolve it.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Error while installing python-uinput on Debian Linux

#2 Post by GarryRicketson »

I don't know, but this seems to get some info:
Command python setup.py egg_info failed with error code 1

This one :http://stackoverflow.com/questions/1142 ... d-egg-info
Talks about using

Code: Select all

# pip install --upgrade setuptools 
Also

Code: Select all

~$ man python

has a lot of info explaining how to use "python"

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Error while installing python-uinput on Debian Linux

#3 Post by stevepusser »

am getting an error when trying to install uinput on Debian Linux(Kernel Version 3.8.13)
That's not a Debian standard kernel release version...What version of Debian are you running?

The command works in a Wheezy machine

Code: Select all

# pip-3.2 install python-uinput
Downloading/unpacking python-uinput
  Running setup.py egg_info for package python-uinput
    
Installing collected packages: python-uinput
  Running setup.py install for python-uinput
    
Successfully installed python-uinput
Cleaning up...
MX Linux packager and developer

Post Reply