Python Forum
ImportError: cannot import name 'Main' => Cannot install module with pip
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ImportError: cannot import name 'Main' => Cannot install module with pip
#6
The error means that python detects a cyclic import: the starter.py file needs to import an object named Main from the file pdfconvert_qt.py, and this file in turn needs to import the starter module. This is a design flaw in the program. There may be solutions, but without the code it is difficult to help.
Reply


Messages In This Thread
RE: ImportError: cannot import name 'Main' => Cannot install module with pip - by Gribouillis - Jan-09-2018, 06:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  is import cointegration_analysis a recognized module mitcht33 1 526 Nov-06-2023, 09:29 PM
Last Post: deanhystad
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,685 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  problem in import module from other folder akbarza 5 1,741 Sep-01-2023, 07:48 AM
Last Post: Gribouillis
  can not import anaconda pandas module. PySpark pandas module is imported!! aupres 0 797 Aug-06-2023, 01:09 AM
Last Post: aupres
Question Cannot import easysnmp: ImportError: libnetsnmp.so.30 Calab 4 1,215 Jun-08-2023, 08:52 PM
Last Post: Gribouillis
  import module error tantony 5 3,653 Dec-15-2022, 01:55 PM
Last Post: Lauraburmrs
  Import a module one step back of the path prathampatel9 1 1,138 Sep-21-2022, 01:34 PM
Last Post: snippsat
  No module found when I run a main.py tomtom 2 1,593 Jul-20-2022, 09:24 AM
Last Post: tomtom
  ImportError: No module named PIL rudeoil18 9 7,017 Mar-03-2022, 01:25 PM
Last Post: snippsat
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,917 Jan-04-2022, 01:05 PM
Last Post: Anldra12

Forum Jump:

User Panel Messages

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