Working on Automate The Boring Stuff project and having trouble with pyperclip and IDLE. pyperclip is successfully downloaded and works fine in Terminal but when I import pyperclip in IDLE, I get the below error.
UPDATE - This is happening with other modules - anything I've installed in the terminal aren't importing into IDLE.
import pyperclip Traceback (most recent call last): File "", line 1, in import pyperclip ModuleNotFoundError: No module named 'pyperclip'
I figure I have the module saved in the wrong folder somehow. Below are the sys.path outputs from my Terminal and IDLE.
In terminal:
'/anaconda/bin', '//anaconda/lib/python36.zip', '//anaconda/lib/python3.6', '//anaconda/lib/python3.6/lib-dynload', '//anaconda/lib/python3.6/site-packages', '//anaconda/lib/python3.6/site-packages/Sphinx-1.5.1-py3.6.egg', '//anaconda/lib/python3.6/site-packages/aeosa', '//anaconda/lib/python3.6/site-packages/IPython/extensions', '/Users/andrewricardo/.ipython']
In IDLE:
sys.path ['', '/Users/andrewricardo/Documents', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages']
There are multiple paths here - how do I effectively move the pyperclip module to the correct place?
OR - Is there something else going on here?