!pip install boto3
Requirement already satisfied: boto3 in c:\python38\lib\site-packages (1.34.48)
Requirement already satisfied: botocore<1.35.0,>=1.34.48 in c:\python38\lib\site-packages (from boto3) (1.34.48)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in c:\python38\lib\site-packages (from boto3) (1.0.1)
Requirement already satisfied: s3transfer<0.11.0,>=0.10.0 in c:\python38\lib\site-packages (from boto3) (0.10.0)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in c:\python38\lib\site-packages (from botocore<1.35.0,>=1.34.48->boto3) (2.8.2)
Requirement already satisfied: urllib3<1.27,>=1.25.4 in c:\python38\lib\site-packages (from botocore<1.35.0,>=1.34.48->boto3) (1.26.18)
Requirement already satisfied: six>=1.5 in c:\python38\lib\site-packages (from python-dateutil<3.0.0,>=2.1->botocore<1.35.0,>=1.34.48->boto3) (1.15.0)
import boto3
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[2], line 1
----> 1 import boto3
ModuleNotFoundError: No module named 'boto3'
import sys
print(sys.version)
# >>> 3.12.0 (tags/v3.12.0:0fb18b0, Oct 2 2023, 13:03:39) [MSC v.1935 64 bit (AMD64)]
In Jupyter Notebook It is using Python Version 3.12 and in my environment variable also it is present.
How to resolve it?