Skip to content
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

Incompatible with networkx 2.0 #42

Open
Langmans opened this issue Oct 3, 2017 · 0 comments
Open

Incompatible with networkx 2.0 #42

Langmans opened this issue Oct 3, 2017 · 0 comments

Comments

@Langmans
Copy link

Langmans commented Oct 3, 2017

I'm not really proficient in python but I managed to get the part that handles installing eggs through pip to force install networkx 1.11. It's better to upgrade the code to networkx 2.0 I think, but this should do in the mean time right?

In eggs/__init__.py:

for dep in ["decorator", "lxml", "PyYAML", "six", "jinja2", "psutil", "patch", "pydot"]:
    destpath = "{0}/{1}".format(path, dep)
    if not os.path.exists(destpath):
        pip.main(["install", "--target={0}".format(destpath), dep])
    sys.path.append(destpath)

destpath = "{0}/networkx".format(path)
if not os.path.exists(destpath):
    pip.main(["install", "--target={0}".format(destpath), "networkx==1.11"])
sys.path.append(destpath)
AnyOldName3 pushed a commit to AnyOldName3/modorganizer-umbrella-old that referenced this issue Mar 9, 2018
Unofficial Morrowind support. Read Despription
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant