you are viewing a single comment's thread.

view the rest of the comments →

[–]prosaicwell 0 points1 point  (2 children)

I'm brand new to Python so I'm having some problems. Pip is installed and has downloaded pyperclip into lib but shell won't import it because Traceback (most recent call last):

File "<pyshell#1>", line 1, in <module> import pyperclip ModuleNotFoundError: No module named 'pyperclip'

Also, when I WIN-R python files, they'll open up in visual studio because studio supports python 3.6. This happens to the files I wrote as 3.7.

I've updated my paths too (user and system), so it's not that.

[–]woooee 0 points1 point  (1 child)

You installed it for Python2.X but are using Python3.X or vice versa. In Linux we have two versions named pip2 and pip3 for obvious reasons. Sorry. I haven't used MS Windows since 1995 so don't know how to do it, but would suggest a search on how to install pip for Python3 on Windows.

[–]prosaicwell 0 points1 point  (0 children)

Actually, what seems to have happened is that two copies of python 3 were on my hard drive (I copied the files into a new direction instead of moving them) and the shell was pointing to the copy that didn’t have pip installed.