Python Forum
What is a circular import? asked by a newbie of newbies
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is a circular import? asked by a newbie of newbies
#2
It is likely that you have a file named bookmarks_parser.py . Try this command to see where Python imports bookmarks_parser from
Output:
python3 -c "import bookmarks_parser; print(bookmarks_parser)"
EDIT: sorry the information was in your traceback:
Quote:File "/home/ineuw/Desktop/bookmarks_parser.py", line 6, in <module>
Rename the file to something else. It is not the module that Python must import.
Reply


Messages In This Thread
RE: What is a circular import? asked by a newbie of newbies - by Gribouillis - Sep-16-2022, 07:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Circular Import Led_Zeppelin 3 2,731 Jul-14-2021, 07:41 PM
Last Post: snippsat
  help on pandas circular import jip31 2 8,785 May-18-2021, 11:54 AM
Last Post: jip31
  Circular import dependency hobbyist 9 4,095 Feb-23-2021, 11:57 AM
Last Post: Gribouillis
  IP Subnet is asked from user Mahmut 1 2,004 Mar-08-2019, 10:10 AM
Last Post: Larz60+
  Lists in list for newbies LedDiode 4 3,256 Dec-25-2018, 09:48 AM
Last Post: LedDiode
  Robot Stay Inside Circular Ring webmanoffesto 4 6,830 Dec-07-2016, 06:57 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

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