Im trying to use the pyperclip module in the idle python editor. When I try to import I get an error saying:
Traceback (most recent call last): File "", line 1, in import pyperclip ModuleNotFoundError: No module named 'pyperclip'
When I try to pip install pyperclip in terminal, I get the following:
Requirement already satisfied: pyperclip in /anaconda3/lib/python3.7/site-packages (1.7.0)
Im brand new to learning python and developing in general, so sorry if this is an easy solution or covered elsewhere that I could not figure out how to find. Im still learning how to most effectively use python so I'm not sure which editor or system I prefer yet. Is there a way to be able to use the pyperclip module in idle without deleting it from anaconda, or removing anaconda entirely?
Im running python 3.7.2 on a Macbook with macOS Mojave 10.14.3.
Thanks!
In terminal, the following
$ python3 -m pip install pyperclip
or similar should install pyperclip or other modules to the python3 installation, where it can be found when you run IDLE with
$ python3 -m idlelib
I expect the same to be true when you start IDLE from the icon or python launcher, but I don't know what changes Anaconda makes to your system.