-
Notifications
You must be signed in to change notification settings - Fork 199
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
Package name #23
Comments
Hi, This is only for historical reason (I start this way, not really thinking about a distribution on pypi). I know this issue, but it is a bit complicated to change the name. For such a small package, breaking the API can be complicated. Shadowing the community package is a bigger concern than installing python-louvain to get the community package. Do you have better idea than publishing another pypi package with the same code in another package name ? If you do not use both 'community' package in the same software, virtual environments may be a solution ? Best, |
Yes, you can stick to your name Also to avoid adding an extra module level, you could just rename the
I totally agree about virtualenv and would use it if I had to use both packages in different projects. The problem is that people may find your package in another snippet of code and see |
To avoid backwards compatibility issues, you may want to move all the code to another module e.g. Then remove As a side note, are you planning a release anytime soon? |
I have just make a release, I will consider renaming or having both name in next version |
Problem is still unsolved in Mar, 2021 |
one solution is uninstall 'community' and then install 'python_louvain' and 'networkx': https://stackoverflow.com/questions/53087066/how-to-use-the-communities-module-python-louvain-in-networkx-2-2/53101996 |
Broadly, I agree with the concerns raised by @mazzma12 . Relaying my experience in this thread in case others find it after encountering the same issue. When using
This (also linked by @thisisreallife) suggests uninstalling The way I was able to use the library was directly uploading the contents of # from .community_status import Status
from community_status import Status |
Why is the package listed as
python-louvain
but you have to use it withimport community
?pip install community
community
python package .You run into troubles if you use both at the same time. Which is likely to occur if users ran
pip install community
in the first placeThe text was updated successfully, but these errors were encountered: