Open amlynnworth opened 2 months ago
I tried with
pip 21.2.3 from D:\Projects\CodeSign_Year2024\aws-kms-sign-csr\Lib\site-packages\pip (python 3.10)
and that gets further but still errors out with
pyasn1.error.SubstrateUnderrunError: Short octet stream on tag decoding
Hi @amlynnworth , sorry I just spotted this. I'll take a look and see if I can get to the bottom of it.
Hi @amlynnworth , looks like the boto3 requirement was too out-of-date for python3.12. I've pushed another branch 7-python3.12 - can you try it out on your environment and see if it works? Thanks!
(for clarity, run pip install -r requirements.txt --upgrade
once you've checked the branch out)
ModuleNotFoundError urllib3.packages.six.moves
I am getting this error when running the aws-kms-sign-csr.py script:
ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
This is on Windows 10 where inside the activated cmd prompt
python3 --version reports
Python 3.12.5
pip3 --version reportspip 24.2 from D:\Projects\CodeSign_Year2024\aws-kms-sign-csr\Lib\site-packages\pip (python 3.12)
I was able to setup the virtualenv, activate, and install the requirements.
I added a Windows setting to connect to the top of the site-packages tree.
set pythonpath=D:\Projects\CodeSign_Year2024\aws-kms-sign-csr\Lib\site-packages
Under site-packages, I have this file, "aws-kms-sign-csr\Lib\site-packages\urllib3\packages\six.py".
Is there any chance that the requirements.txt file needs to be updated or that aws-kms-sign-csr.py needs to run from an earlier version of python?
I am very new to python and could be making any newbie mistake. Advice would be very welcome. I am extremely keen to make this work.