Problems with importing modules

Hey all, I am very new at this, and I need some help regarding importing modules. I downloaded python 3, and I am trying to simply import PyInputPlus. I went to my cmd, and typed in "pip install --user pyinputplus' and it successfully downloaded. Now, I type in on Mu, "import pyinputplus" and run it to see what happens, and it has given me a ModuleNotFoundError. This also happened when I tried to install pyperclip too.

I think this might have to do with something regarding my Path from what I have been reading, but I cannot understand what's happening. I am looking for some step-by-step instructions on what I can do for this, as I have spent most of the day trying to resolve this.

I know I have to edit something in my Environment Variables so that in Mu I can just write "import pyinputplus", however, I am not sure what it should be. Any help would be appreciated!

Posted Mar 20, 2020, 3:39 AM UTC

22
mohammedi-haroune•

Those pip dependency problems are bad as hell especially when using the system environment (I'm coming from a linux background) For better dependency management and isolation use virtualenv or any other equivalent.

1
TheTeachingMirrorOP•

Can you clarify how this would help, and how to use this? Like I said, I am a absolute beginner so I'm not really sure what to do.

1
[deleted]•

[deleted]

1