'module 'freud' has no attribute 'voronoi'

I am trying to generate VORONOI plot for my system. I am very naive to python and I am using Freud analysis library for computing Voronoi. For checking if the sample code is running on my machine, I tried running the sample code of the website for which following is the link: https://freud.readthedocs.io/en/v1.1.0/examples/module_intros/Voronoi-Voronoi.html

When I am running the code it generates an error saying:

AttributeError: module 'freud' has no attribute 'voronoi'

I compiled the code both using terminal and jupyter notebook.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source