Python Forum
No module named 'ConfigParser'
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No module named 'ConfigParser'
#8
(May-21-2017, 08:09 PM)Ofnuts Wrote:
(May-20-2017, 05:35 AM)Bani Wrote: Hi,

When I want to install some pachakes, I have "ImportError: No module named 'ConfigParser'" error.
I use Python3.5 and used the below command to set it as a default python

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
Extremely dangerous thing to do. Try this:

Output:
find /usr -type f -executable -exec grep -Eo '#!.*python\w?' {} \; | sort | uniq -c       4 #! /usr/bin/env python      49 #!/usr/bin/env python       2 #!/usr/bin/env python2       9 #!/usr/bin/env python3     205 #! /usr/bin/python      86 #!/usr/bin/python      27 #! /usr/bin/python2       1 #!/usr/bin/python2      82 #! /usr/bin/python3      85 #!/usr/bin/python3
So, on my Linux, there are 293 Python scripts that are likely written for Python2 and that will suddenly be executed with Python3.

thank you.
[Image: bxfe_capture2.jpg]
what should I do to solve this problem?

(May-22-2017, 04:35 AM)wavic Wrote: Hello!
The error is not for python-dev. It's the newest version in the repository. You can read it at the beginning of the output from the command.
Try to install pip python-igraph

I tried the command below but I have an error.
sudo pip3 install python-igraph

[Image: djom_1.jpg]
Reply


Messages In This Thread
No module named 'ConfigParser' - by Bani - May-20-2017, 05:35 AM
RE: No module named 'ConfigParser' - by buran - May-20-2017, 06:29 AM
RE: No module named 'ConfigParser' - by Bani - May-20-2017, 11:01 AM
RE: No module named 'ConfigParser' - by sparkz_alot - May-20-2017, 12:54 PM
RE: No module named 'ConfigParser' - by Bani - May-20-2017, 01:31 PM
RE: No module named 'ConfigParser' - by Ofnuts - May-21-2017, 08:09 PM
RE: No module named 'ConfigParser' - by Bani - May-22-2017, 08:39 AM
RE: No module named 'ConfigParser' - by Ofnuts - May-22-2017, 10:14 AM
RE: No module named 'ConfigParser' - by Bani - May-22-2017, 04:52 PM
RE: No module named 'ConfigParser' - by Ofnuts - May-22-2017, 08:02 PM
RE: No module named 'ConfigParser' - by wavic - May-22-2017, 04:35 AM
RE: No module named 'ConfigParser' - by buran - May-22-2017, 08:48 AM
RE: No module named 'ConfigParser' - by wavic - May-22-2017, 05:13 PM
RE: No module named 'ConfigParser' - by Ofnuts - May-22-2017, 07:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 970 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 24,047 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 2,709 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,516 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,594 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,389 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 1,071 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 9,385 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 1,042 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  ModuleNotFoundError: No module named 'omsdk.sdkproto' donvito7 4 1,905 Oct-20-2022, 02:56 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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