0

I'm getting this error when I try to import pyperclip in Mu-Editor but in Idle it imports just fine. I found this thread . One of the solutions is to download get-pip.py from here but I'm at a loss as to how I download it. Any help would be greatly appreciated!

JR Unisa
  • 19
  • 3
  • That's actually the same thread I linked in the original post, but thanks anyway! – JR Unisa Jan 14 '21 at 14:07
  • Oh, my bad, I didn't see the links – DapperDuck Jan 14 '21 at 14:08
  • To install pip, go [here](https://bootstrap.pypa.io/get-pip.py) and download the get-pip.py file. Then use the following command in the command prompt: `python get-pip.py` – DapperDuck Jan 14 '21 at 15:35
  • That's the part I'm confused about. When I go to that link it just opens a webpage with a bunch of code. Is that what I'm supposed to see? If so, how exactly do I download the get-pip.py file? Sorry, I'm completely new to this – JR Unisa Jan 15 '21 at 15:17
  • It should show a dialogue box to download pip. I'm on a windows machine, so I'm not sure if this is the same on mac – DapperDuck Jan 15 '21 at 16:00
  • Well good news is I was able to download get-pip.py . Had to copy the entire code and save it in the right directory. Bad news is Mu-Editor still errors out. I also have a PC which has the same issue. – JR Unisa Jan 15 '21 at 18:49
  • Huh, that's strange. Please update your question, with the error that comes up – DapperDuck Jan 15 '21 at 19:07
  • ModuleNotFoundError: No module named 'pyperclip' I'm wondering if it even matters though because it only errors out in Mu-Editor but Idle is fine. I haven't actually tried to run any programs through Python so I don't know if the error in Mu-Editor even matters, does it? – JR Unisa Jan 16 '21 at 22:28
  • How did you install pyperclip, pip or pip3? – DapperDuck Jan 16 '21 at 22:47
  • Both pip and pip 3 – JR Unisa Jan 17 '21 at 23:14
  • I think it must just be a bug with mu editor, if everything works fine in IDLE – DapperDuck Jan 17 '21 at 23:24
  • Yeah I figured. I'm going to ignore it for now since I don't think it affects any programs I create. Thanks so much for being so responsive! I really appreciate it! – JR Unisa Jan 19 '21 at 00:33

0 Answers0