Comments (4)
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.
Sorry, since the server is one-way, I can't export to copy the error report file, so I screenshot them.
from tmap.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmap.