Skip to content

ImportError: cannot import name 'component' from partially initialized module 'reactpy' (most likely due to a circular import) #1123

Answered by Archmonger
muhammadd8 asked this question in Problem
Discussion options

You must be logged in to vote

You cannot name your Python file reactpy, otherwise you are redefining where from reactpy import ... imports from.

Please change your file name.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Archmonger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1122 on August 01, 2023 21:23.