Python-inotify installing 0 Downloads on Linux
$ wget--no-check-certificate https://pypi.python.org/packages/source/p/pathlib/pathlib-1.0.1.tar.gz$ wget-- No-check-certificate Https://bitbucket.org/JanKanis/python-inotify/get/2193c8bdeb3b.zip
1 Ubuntu14.04
python2.7.6
gcc4.8.2
1.1 Pathlib
$ cd pathlib-1.0.1$ sudo python setup.py install
1.2 python-inotify
$ cd jankanis-python-inotify-2193c8bdeb3b$ sudo python setup.py install
1.3 Testing
$ cd jankanis-python-inotify-2193c8bdeb3b/examples$ python simple.py
2 RHEL6.4
python2.7.9
gcc-4.4.7
2.1 Pathlib
# cd pathlib-1.0.1# python setup.py install
2.2 Python-inotify
# cd jankanis-python-inotify-2193c8bdeb3b# python setup.py install
An error occurred, add the following code at the beginning of inotify/_inotify.c:
/* Exclude events on unlinked objects. */
#ifndef In_excl_unlink
# define In_excl_unlink 0x04000000
#endif
Python-inotify Installing on Linux