r/pythonhelp • • 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

7 comments sorted by

View all comments

Show parent comment

1

u/FlexDormGamer Jul 30 '25

How do I do that, I am not knowledgeable about these things

1

u/Ok_Hovercraft364 Jul 30 '25

I think the easiest way forward is to uninstall python and reinstall it and when doing so look for that add PATH checkbox. It is not checked by default.

The other option is to edit your path var in windows to point to where python exe is installed. Google or llm should help get that going