May-16-2017, 11:35 AM
Hi all,
In my linux pepper mint system there are three versions of python installed
Python 2.7.12
Python 3.5.2
Python 3.6.1
I needed some third party modules in my scripts and I found that I have to use "pip" tool to install the third party modules.
I have downloaded pip3 through sudo apt-get install pyhton3-pip
I have downloaded pyperclip module through
pip3 install pyperclip
but Python3.6 unable to find it and throws ModuleNotFoundError. I have explained it in the code below..
In my linux pepper mint system there are three versions of python installed
Python 2.7.12
Python 3.5.2
Python 3.6.1
I needed some third party modules in my scripts and I found that I have to use "pip" tool to install the third party modules.
I have downloaded pip3 through sudo apt-get install pyhton3-pip
I have downloaded pyperclip module through
pip3 install pyperclip
but Python3.6 unable to find it and throws ModuleNotFoundError. I have explained it in the code below..
mohan@mohn ~ $ python3.6 Python 3.6.1 (default, Apr 22 2017, 20:17:23) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyperclip Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'pyperclip' >>> [4]+ Stopped python3.6 mohan@mohn ~ $ python3 Python 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyperclip >>>You could see the import pyperclip code works well in python3 but not in python3.6. How to download modules for the latest version Python 3.6.1..