How to install BOTO3 - - > Python boto install throws exceptions

0

Hello,

I am trying to install Python Boto3 using the PIP installer. I can't seem to get it to install successfully as it is throwing exceptions. See below:

C:\WINDOWS\system32>pip install boto3 ERROR: Exception: Traceback (most recent call last): File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_internal\cli\base_command.py", line 173, in _main status = self.run(options, args) File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_internal\cli\req_command.py", line 203, in wrapper return func(self, options, args) File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_internal\commands\install.py", line 315, in run requirement_set = resolver.resolve( File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 94, in resolve result = self._result = resolver.resolve( File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 472, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 341, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 172, in _add_to_criteria if not criterion.candidates: File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\resolvelib\structs.py", line 151, in bool return bool(self._sequence) File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 140, in bool return any(self) File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 128, in <genexpr> return (c for c in iterator if id(c) not in self._incompatible_ids) File "C:\Users\tdrod\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 29, in _iter_built ..... ..... C:\WINDOWS\system32>aws --version aws-cli/1.19.48 Python/3.6.0 Windows/10 botocore/1.20.48

C:\WINDOWS\system32>python --version Python 3.10.2

Is there anything that can help me to resolve this to get boto3 installed??

asked 2 years ago346 views
1 Answer
0
Accepted Answer

You could try the Windows MSI installer. Step by step instructions within AWS docs. You will need a 64-bit version of Windows XP or later with admin rights to run the installer.

RoB
answered 2 years ago
  • After extensive research, eliminating possible issues, etc, I de-installed the CLI and Python and re-installed both. It appears it was a configuration mis-match somewhere along the line.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions