r/pythonhelp • u/FlexDormGamer • Jul 24 '25
[HSLP] not able to import module
I am trying to import module like pandas,and matplotlib but it's not working. Even in IDLE it shows syntax erroor.
FYI I have installed python in a different drive other than main drive I.e. not local drive C. How can I import the modules?? And also not working
0
Upvotes
View all comments
Show parent comment
2
u/Ok_Hovercraft364 Jul 30 '25
This sounds like python is not on your path, which is not added by default unless you check the box when installing python. Try adding it to your path then restart vs code and see if that works. right now, the PowerShell terminal is not finding the path.