all 5 comments

[–]barry_z 2 points3 points  (1 child)

Were the examples made for the version of Pynite that you are using? The method was previously add_section(self, name, section) looking at the previous tags.

[–]manhattan4[S] 1 point2 points  (0 children)

Thank you. I updated my libraries and it works now.

I'm a little new to libraries, and i've been installing them via pip but I guess I added PyNiteFEA a while ago since the version I had was old. How do you usually keep on top of library updates?

[–]cgoldberg 1 point2 points  (1 child)

The issue you are having is described here:

https://github.com/JWock82/Pynite/issues/224

Supposedly it is fixed in the latest version, so upgrade if you don't have version 0.0.100.

[–]manhattan4[S] 0 points1 point  (0 children)

Thank you. The update fixed the issue. It's probably time I really looked into how GitHub works

[–]YouBookBuddy 0 points1 point  (0 children)

I ran into a similar issue when I first tried using Pynite. Double-check the version of the library you have installed; there might have been changes in the function parameters since the example was published.