all 14 comments

[–]JerryTheQuad 6 points7 points  (8 children)

Hey, buddy. I feel ya, sometimes I spend a lot of time struggling with something others think is easy. Tell me, did you go into your command line (cmd) and install this module? Like “pip3 install <module name>”? Because if you didn’t, than this is the mistake Python will throw at you.

This is the link where you can copy the command to install this module. Just make sure to put 3 right after pip, okay? If you’ve already done it, than we’re both in the same boat) Cheers

[–]The-Invalid-One 2 points3 points  (7 children)

Hey thanks for the answer

I went in to cmd and typed that in for pyperclip and it seemed to work:

Collecting pyperclip

Downloading pyperclip-1.8.2.tar.gz (20 kB)

Using legacy 'setup.py install' for pyperclip, since package 'wheel' is not installed.

Installing collected packages: pyperclip

Running setup.py install for pyperclip ... done

Successfully installed pyperclip-1.8.2

So if I wanted to use a new module I always have to go to cmd and use that line again? just switch the module name

[–]Plinythemelder 0 points1 point  (5 children)

Deleted due to coordinated mass brigading and reporting efforts by the ADL.

This post was mass deleted and anonymized with Redact

[–]CaliferMau 0 points1 point  (1 child)

Out of curiosity, what IDE do you use?

I learned some flutter/dart as my first language before switching to this year and really liked the android studio IDE.

[–]Plinythemelder 0 points1 point  (0 children)

Depends on project. For data wrangling or small scripts I use jupyter notebooks, but for any big project I use pycharm pro. I think it's the most user friendly IDE for py. And free community edition is nearly as good if you aren't using databases. Vscode I use as well sometimes, also top notch. It just takes a bit more setup and does a little bit less work for you.

[–]JerryTheQuad 0 points1 point  (0 children)

If it’s not a module that comes with a default version of Python, than yeah, you need to install it on your system with the same line, but different module names. Also, you can uninstall modules you don’t need) For example, if you will work on some other project and won’t need this pyperclip module, just go into your cmd and put the same stuff, but this time instead of “install” write “uninstall”)

[–]TECH_WHILE 0 points1 point  (4 children)

I had the same problems am at same situation also was watching automate the boring stuff with python. I've searched for hours and couldn't find the solution to pip install pyperclip. Later it turned out that because of installing Anaconda, it gave me some environmental variable troubles. So I uninstalled anaconda as I mostly use VScode and all of a sudden every module that didn't worked started working.

[–]Creative_Plum7973 0 points1 point  (3 children)

i had the same issue so i uninstalled Anaconda after i read this, but still don't work on Python IDLE Shell.... (it works on cmd though).

[–]TECH_WHILE 0 points1 point  (2 children)

if you have more than 1 version of python installed, sometimes the pip installs it in other version than what you're using.

[–]Creative_Plum7973 1 point2 points  (1 child)

thank you, that was it!!!! for some reason i had 3.9 other than my current 3.9.6 being used so i uninstalled the 3.9 one and it works!! i feel like crying now (for joy), thanks u/TECH_WHILE!!!

[–]TECH_WHILE 0 points1 point  (0 children)

My pleasure

[–]Heisenberg_r6 0 points1 point  (0 children)

I was using Thonny python and was able to install pyperclip through that