Skip to content

Docker + Boto3 + Python + Vector Seems not finding boto3 #13282

Answered by jszwedko
satscreate asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @satscreate !

You are installing boto3 via pip3 which is Python 3, but python is Python 2. I ran your apt commands in the container and then:

root@e1ac7af04c1c:/# pip --version
pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)
root@e1ac7af04c1c:/# python --version
Python 2.7.18

I believe you want to install the python-is-python3 package so that python is python3.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@satscreate
Comment options

Answer selected by satscreate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants