Networkx library in Dynamo

python
#1

Hi fellas, any guess on how to install networkx libaries to be used with IronPyhton?
Bye
Cesare

#2

What’s wrong with it?

#3

I’m not able to install it…:slight_smile:

#4

I assume you followed what’s in the INSTALL.rst file to be found in the package…

#5

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

#6

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…

#7

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

#8

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:

#9

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

#10

yes…and it works from Python side

#11

Hi @Cesare_Caoduro3

I don’t think it supports windows.

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

1 Like
#12

So I can use from it from dynamo?

#13

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

#14

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

#15

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

#16

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
Python Nodes Basics
#17

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
#18

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

1 Like
#19

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

#20

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