You are not logged in.

#1 2014-06-24 19:35:13

meschael
Member
Registered: 2014-06-22
Posts: 26

[Solved] Install package python-evdev from AUR

I belive this is the correct section to post this but I have a problem installing the package python-evdev where I get the error ( Unsupported package: Potentially dangerous ! )
after trying to install with yaourt and pip install python-evdev results in bash: pip: command not found even after checking that extra/python-setuptools 1:5.2-1 is installed
and extra/python2-setuptools 1:5.2-1 is installed.

I realize there are other modules for hooking x server events but this one I have already written 200 lines of code for and is key to my application working.  I was able to install
and utilize this module in ubuntu but cannot seem to get it installed in archlinux.  Any guidance would be apreciated.

Last edited by meschael (2014-06-25 00:34:58)

Offline

#2 2014-06-24 20:09:05

ids1024
Member
From: California
Registered: 2013-08-16
Posts: 243
Website

Re: [Solved] Install package python-evdev from AUR

Pip is in the package python-pipAll AUR packages are unsupported.  Yaourt is unsupported.

https://wiki.archlinux.org/index.php/AUR

There is not and will never be an official mechanism for installing build material from the AUR. All AUR users should be familiar with the build process.


"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/

https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024

Offline

#3 2014-06-24 20:28:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Install package python-evdev from AUR

meschael wrote:

I get the error ( Unsupported package: Potentially dangerous ! )

It's not an error. It means, it's not a package from the official repos.
You didn't tell us how exactly are you trying to install. Use pacman & makepkg, as ids1024 suggests.

ids1024 wrote:

Pip is in the package python-pip.

This.
https://wiki.archlinux.org/index.php/FA … ge_is_X.3F

Offline

#4 2014-06-25 00:09:35

meschael
Member
Registered: 2014-06-22
Posts: 26

Re: [Solved] Install package python-evdev from AUR

I asumed pip came with setup tools, so following ids1024's lead I did a pacman -S python-pip which solved the command not found issue.  I downloaded and untar'ed the package from AUR and issued a makepkg -s from within the extracted folder.  There seems to be an issue with the licence which I can now see has to do with the person who make the package

I did not realize the dynamics of how AUR works because I am new to arch, so I appologize if I bothered anyone.

[Update] I have abondoned the idea of getting pythons evdev module installed as I have located a python3-xlib module which seems to have installed correctly, incidently I was unable to locate a xlib ported to python3 in my other distro, but found it in AUR here so this should work, will have to adapt my code but not the end of the world.  Else if (Xlib != WORKING): work directly with /dev/input/eventn using root

Last edited by meschael (2014-06-25 00:34:03)

Offline

Board footer

Powered by FluxBB