0

using Pycharm,i have a project for saving password in a txt file, it mandatory to use pyperclip module while i have already downloaded it safely from powershell and cmd and it already works for python IDLE and in bash(shell,cmd).

i am already aware that i can do that with python IDLE but its too slow and i cant use other source codes to see what works for me(due to its compiling rule that unless a line is not compiled the other cant be compiled).

Here pycharm gives me error
(source: imggmi.com)

IDLE works
(source: imggmi.com)

powershell works indeed!
(source: imggmi.com)

 import pyperclip
 pyperclip.copy()
 pyperclip.paste()
Glorfindel
  • 21,988
  • 13
  • 81
  • 109
moh80s
  • 763
  • 1
  • 7
  • 21
  • Is your pycharm correctly Setup. Check if the Interpreter (python.exe) is the same as in powershell. Goto Settings and search `Interpreter` https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html – Uli Sotschok Aug 08 '19 at 14:41

2 Answers2

1

do the following: 1.file>>>2.Project>>>3.Project Interperter>>>4.click on the + button>>>5.search "pyperclip">>>6.click on install button

m.rostami
  • 50
  • 6
0

Now the above one doesn't work, so find/click the following:

settings

interpreter

final

all the above link are images linked to stack overflow, (unable to edit via html)

Willie Cheng
  • 7,679
  • 13
  • 55
  • 68
Sharath
  • 1
  • 1