I reinstalled python3-boto3 and now it works:
[~]$ python3
Python 3.12.6 (main, Sep 7 2024, 14:20:15) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto3
>>> boto3.client("ec2")
<botocore.client.EC2 object at 0x72e04e075eb0>
>>>
** Changed in: python-boto3 (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081978
Title:
boto3 completely unusable: ImportError: cannot import name
'JSONDecodeError' from 'simplejson' (unknown location)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-boto3/+bug/2081978/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs