Python Forum
No module named 'ConfigParser'
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No module named 'ConfigParser'
#11
(May-22-2017, 10:14 AM)Ofnuts Wrote:
(May-22-2017, 08:39 AM)Bani Wrote: what should I do to solve this problem?

Not use Python3 as the default. Reset the default to python2. If you need Python v3, 1)  teach your fingers to use the python3 command, or use a "shebang" that mentions python3 in your scripts (plenty of examples above).

I want to use a tool in eclipse. I should run the tool on python3.
Reply
#12
Half of the Linux system is run on Perl and Python scripts. If you change the default Python version you may broke something.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#13
(May-22-2017, 05:13 PM)wavic Wrote: Half of the Linux system is run on Perl and Python scripts. If you change the default Python version you may broke something.

s/may broke/will break/
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply
#14
(May-22-2017, 04:52 PM)Bani Wrote:
(May-22-2017, 10:14 AM)Ofnuts Wrote: Not use Python3 as the default. Reset the default to python2. If you need Python v3, 1)  teach your fingers to use the python3 command, or use a "shebang" that mentions python3 in your scripts (plenty of examples above).

I want to use a tool in eclipse. I should run the tool on python3.

If it's a python script you can likely just add the proper shebang in it to make it run with python3. Otherwise there are plenty of settings in Eclipse to chose the language level.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 718 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 22,953 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 2,174 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,316 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,393 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,229 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 964 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 8,226 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 934 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  ModuleNotFoundError: No module named 'omsdk.sdkproto' donvito7 4 1,773 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