-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: attempted relative import with no known parent package
when attempting install
#5216
Comments
Installing with the |
A dirty workaround could be: felixonmars@b4a74c7 Not submitting a real fix because I am unsure about how to properly address this. |
I added @felixonmars's dirty patch to the Arch Linux packaging, currently in [community-testing]. I would encourage everyone on Arch that was having this issue to test, as well as everybody that wasn't to also test and make sure it doesn't regress anything else serious. I understand this will probably eventually get fixed upstream a different way, but in a distro context where we know what packages are and are not available it seems like a workable hack that solves a very real problem people keep hitting. |
This should be resolved by #4749. |
I ran into this same problem in a Plugin I created which adds new commands. Fixed it by adding Edit: See https://github.com/spoorn/poeblix/blob/main/src/poeblix/plugins.py#L9-L10 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue
I can't seem to install this project no matter what. I've tried using both 3.9 and 3.10 on my local arch machine. It always errors out in this same way. I can install the project correctly on a Ubuntu 20.04 install. I have already tried reinstalling both python and poetry (through the official arch repos) and also clearing the entire
~/.cache/pypoetry
directory.The text was updated successfully, but these errors were encountered: