-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Hi @ajschmidt8
It could very well be user error, but I'm finding that v1.13.13 is not installable via the command sudo pip install alarmdecoder==1.13.13
I believe the issue is that pypi shows that python3 is required, but in actuality, AD is only Python 2.7 compatible.
alarmdecoder-1.13.13-py3-none-any.whl Uploaded Mar 9, 2025 Python 3
The below error is shown when trying to install via pip.
setuptools-git-versioning<3,>=2.0 is not available for python 2.7...
pi@AlarmDecoder:~ $ sudo pip install alarmdecoder==1.13.13
No handlers could be found for logger "pip._internal.network.auth"
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting alarmdecoder==1.13.13
Using cached alarmdecoder-1.13.13.tar.gz (314 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gSyb9c/alarmdecoder/setup.py'"'"'; file='"'"'/tmp/pip-install-gSyb9c/alarmdecoder/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-AvJR4h
cwd: /tmp/pip-install-gSyb9c/alarmdecoder/
Complete output (25 lines):
No handlers could be found for logger "pip._internal.network.auth"
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
ERROR: Could not find a version that satisfies the requirement setuptools-git-versioning<3,>=2.0 (from versions: 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.7, 1.1.8, 1.1.9, 1.1.10, 1.1.11, 1.1.12, 1.1.13, 1.1.14, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.8.0, 1.8.1)
ERROR: No matching distribution found for setuptools-git-versioning<3,>=2.0
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-gSyb9c/alarmdecoder/setup.py", line 48, in
zip_safe=False)
File "/usr/local/lib/python2.7/dist-packages/setuptools/init.py", line 161, in setup
_install_setup_requires(attrs)
File "/usr/local/lib/python2.7/dist-packages/setuptools/init.py", line 156, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 721, in fetch_build_eggs
replace_conflicting=True,
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 782, in resolve
replace_conflicting=replace_conflicting
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1065, in best_match
return self.obtain(req, installer)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1077, in obtain
return installer(requirement)
File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 777, in fetch_build_egg
return fetch_build_egg(self, req)
File "/usr/local/lib/python2.7/dist-packages/setuptools/installer.py", line 130, in fetch_build_egg
raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpRUYpRk', '--quiet', 'setuptools-git-versioning<3,>=2.0']' returned non-zero exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.