Wednesday, August 24, 2022

[FIXED] why i cant import pyperclip in pycharm editor?

Issue

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()

Solution

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



Answered By - m.rostami
Answer Checked By - Mary Flores (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.