1. ставим пакеты питона из репозитория оси - старые 2. ставим из пипа - ломается питон окружение, либо если ставим в пользователя, то они доступны не везде
if not snakebite_imported: raise ImportError( 'This HDFSHook implementation requires snakebite, but ' 'snakebite is not compatible with Python 3 ' '(as of August 2015). Please use Python 2 if you require ' 'this hook -- or help by submitting a PR!')
This is a fork of https://github.com/spotify/snakebite, via https://github.com/kirklg/snakebite/tree/feature/python3. We maintain it enough to work for our needs at the Internet Archive. As of April 10 2019, some tests are not passing, and we don’t have resources to spend fixing them. We use the library with our CDH5 cluster and have not tested it with any other versions of hadoop. Please help us improve this! Or make your own fork. No hard feelings.