I have trouble installing boto3 inside a virtual environment.
I have done what the document says. First I activated virtual environment. then I did a:
Sudo pip install boto3
Now I enter python
>> import boto3
ImportError: No module named boto3
But if I import boto, it works
>> import boto
>> boto.Version
'2.38.0'
Why does it install boto 2.38 when I installed boto3.
I tried closing the terminal and re-opened it.
Should I restart the Ubuntu machine?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…