Skip to content

ImportError: cannot import name 'GenericAlias #42

@LyonsDo

Description

@LyonsDo

I was getting "poetry build -f wheel
PyProjectException
[tool.poetry] section not found in C:/Bridge/endplay/pyproject.toml
at c:\python39\lib\site-packages\poetry\core\pyproject\toml.py:56 in poetry_config"
which made sense because there wan't one.. Dropping back from Python 3.11 to 3.9 fixed that.

But now I get
"ImportError: cannot import name 'GenericAlias' from partially initialized module 'types' (most likely due to a circular import) (C:\Bridge\endplay\src\endplay\types_init_.py)"
and I'm not sure how to resolve that.

Windows 11 using a pipx build if that's relevant.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions