Running it from intellij?
How I can run it from within Intellij?
I was able to shell the poetry env, tried to run the cli.py (aborts without error) tried to run the interpreter.py but it can resolve the .cli path.
ImportError: attempted relative import with no known parent package
What is the dark magic here?
Thanks for reporting. Please see if the suggestions #15 solves your problem.
@jordanbtucker @KillianLucas
Yes, I am already doing that, but through changing the code of interpreter.py which is not ideal because every time there's an official code change in the main branch and we pull, there's a conflict.
Relative imports in Python are in pain and they should be avoided, in most cases.
So, maybe it's worth pursuing a more standard approach not only to the imports but also to the app start up with a main method, that can also be called by poetry(great choice by the way).
If you guys want, I can make a PR with that.
Closing this stale issue. Please create a new issue if there's still trouble running with intellij. Thanks!