Networkx library in Dynamo

Yes, but probably I’m doing something wrong. This is the first time I’m tying to install a package on Ironpython.

I can’t help much since I don’t have time to try myself at this moment, but I’ll be curious of the answers…

Thanks…I’m waiting for someone more skilled in Python :slight_smile:

Could you not reach the authors directly on Github?
We will be interested anyway to follow what’s exposed here, with some more details if possible :slight_smile:

@Cesare_Caoduro3 do you have Python’s pacakage manager installed already?

yes…and it works from Python side

Hi @Cesare_Caoduro3

I don’t think it supports windows.

However you can use “Jupyter” http://jupyter.org/ open source web application:

1 Like

So I can use from it from dynamo?

Referring to the help documentation, it should be possible to install it on Windows also:
https://networkx.github.io/documentation/stable/install.html

I already installed on Windows, the problem is to use it from Dynamo with IronPython

So, if I get this right, the first question would be: has this feature been updated?

Cesare,

There are couple of things in play here. Hopefully this link helps to explain a little bit: https://stackoverflow.com/a/17130986/3263488

2 Likes

Hi Cesare,

You can load files in Jupyter and export the results back.

So you could write the variables into a file from Dynamo, run the Jupyter notebook and read the results again in Dynamo. It’s not the best workflow but I can’t find a better one at the moment.

Please find some Jupyter tips and tricks here:

Cheers
Giovanni

1 Like

Thanks Giovanni,
but this is not what I need :frowning:

1 Like

Thanks Konrad, but from this article it seams I’m not able to load this library since is for CPython…

@Cesare_Caoduro3 its not Kinrad its @Konrad_K_Sobon you have spelling error :slight_smile:

I think I saw somewhere an interpreter for Python that would run in .NET. It’s not an entry level concept for sure, but it would be possible to write your scripts in regular Python using any package out there, and then use the .NET version to run them on Windows. Again, this is something that would require a bit of work and a little more advanced programming skills.

Thanks…

hi Cesare,

i’m struggling with the exact same issue 2 years after you. Did you manage to resolve it? if yes, can you give me some informations on how to deal with it?

thank you

1 Like

Best to start a new topic as this one is pretty far off the original, and already has a solution.