Python Forum
Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1
#1
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..


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..
Reply


Messages In This Thread
Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1 - by bmohanraj91 - May-16-2017, 11:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  confusion on importing modules carter187 4 427 Mar-03-2024, 08:11 PM
Last Post: snippsat
  How do I organize my simple ftp modules? blobdx7 3 541 Jan-05-2024, 01:23 PM
Last Post: Gribouillis
  Different Ways to Import Modules RockBlok 2 542 Dec-11-2023, 04:29 PM
Last Post: deanhystad
  How can prepare the modules when compiling python3.11? luofeiyu 1 582 Sep-28-2023, 03:50 PM
Last Post: deanhystad
  Help with variable in between modules llxxzz 5 828 Jul-31-2023, 04:20 PM
Last Post: Gribouillis
  What's the best way for multiple modules to handle database activity? SuchUmami 3 664 Jul-08-2023, 05:52 PM
Last Post: deanhystad
  Lost Modules standenman 2 744 Jun-22-2023, 12:18 PM
Last Post: standenman
  Modules GrahamLab 1 838 Apr-13-2023, 09:38 AM
Last Post: snippsat
  How to see the date of installation of python modules. newbieAuggie2019 4 1,643 Mar-31-2023, 12:40 PM
Last Post: newbieAuggie2019
  Import Modules TheBunyip 4 1,255 Mar-10-2023, 04:47 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020