Please share your code (in a code block) so that we can see what you are doing. Your import statement would be greyed out if you are not using any of the imported names. You don’t need to import all three (local, session, memory), rather only the one that you decide best suits your purpose.
Please note that it is best not to create multiple posts on the same subject as it reduces your chances of getting assistance.