endplay
endplay copied to clipboard
ImportError: cannot import name 'GenericAlias
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.
Hi, hmm seems like there might be some version mismatching going on. Are you attempting to build from source?
I will boot up my windows machine and see if I can reproduce this error.
No just the PyPi wheels. Thanks for the quick reply,
On Sun, 10 Mar 2024 at 12:55, Dominic Price @.***> wrote:
Hi, hmm seems like there might be some version mismatching going on. Are you attempting to build from source?
I will boot up my windows machine and see if I can reproduce this error.
— Reply to this email directly, view it on GitHub https://github.com/dominicprice/endplay/issues/42#issuecomment-1987200102, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXO43VTFYCJHTFVQZZ756LYXRC2JAVCNFSM6AAAAABEOXILLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYDAMJQGI . You are receiving this because you authored the thread.Message ID: @.***>