aws-kms-sign-csr icon indicating copy to clipboard operation
aws-kms-sign-csr copied to clipboard

requirements on Windows in September 2024 ?

Open amlynnworth opened this issue 5 months ago • 4 comments

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 reports pip 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.

amlynnworth avatar Sep 06 '24 04:09 amlynnworth