Closed ronkorving closed 1 year ago
I tried installing it using pip install awslogs --ignore-installed six
which did work on Python 3.11.
It does fail on Python 3.12 however:
Traceback (most recent call last):
File "/Users/Ron/.pyenv/versions/3.12.0/bin/awslogs", line 5, in <module>
from awslogs.bin import main
File "/Users/Ron/.pyenv/versions/3.12.0/lib/python3.12/site-packages/awslogs/__init__.py", line 1, in <module>
from ._version import __version__ # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Ron/.pyenv/versions/3.12.0/lib/python3.12/site-packages/awslogs/_version.py", line 1, in <module>
from pkg_resources import get_distribution
ModuleNotFoundError: No module named 'pkg_resources'
I think if you run brew install six
it will get the updated version that includes Python3.12 support. A fix would need to be in the Homebrew Formula and not this repo.
@tvalenta Could you direct me to where the Homebrew Formula lives so I can report it there?
@ronkorving https://github.com/Homebrew/homebrew-core/issues/151657 is similar to what you observed
I guess I'll close this ticket then.
I used Homebrew to install as instructed in the readme, and the moment I run
awslogs
, I get an import error: