Giter Site home page Giter Site logo

Comments (4)

444thLiao avatar 444thLiao commented on August 26, 2024

Since the script "Network_generator.py" doesn't import fractions or gcd directly, it might be caused by some inter-packages conflicts.
I think it would be easier to trace the error by uploading a screenshot or the full text reported by the python. It would tell us which line this error was raised at.

from tmap.

wyanren avatar wyanren commented on August 26, 2024

safe
network

Sorry, since the server is one-way, I can't export to copy the error report file, so I screenshot them.

from tmap.

444thLiao avatar 444thLiao commented on August 26, 2024

That's ok. A Screenshot is enough.

So the problem actually is caused by the conflicts between networkx and python3.9.
In general, update/downgrade either one is ok to solve the problem as the links said. But the fixed version of networkx is because updating the networkx would raise another error during the network visualization.

Thus, I think it's better to use python3.8 and install related packages as the requirement said would be fine.

I have tested it with python3.8. The gcd function has not yet moved to the math package. So it would be fine in this step.

from tmap.

wyanren avatar wyanren commented on August 26, 2024

I create a new environment with python3.8 using conda, and re-install tmap2.
And the bug turns to be solved!

Thanks for your advice, enjoy your weekend!

from tmap.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.