-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'gudhi' has no attribute 'AlphaComplex' #41
Comments
Hello, and thank you for the report @tanjia123456 . How did you install gudhi ? Did you install it with conda, with pip, or did you follow the installation manual ? |
I downloaded the .whl file and installed it offline (https://pypi.org/project/gudhi/#files).Is there a problem with this installation method? |
By the way, I have convert .ipynb to .py use jupyter |
If you add |
When I add print(gudhi.version) before the line with AlphaComplex I have downloaded the gudhi-3.4.1-cp36-cp36m-win_amd64.whl, and installed it with pip command. |
Ok, so next step is to check your python version: $ python --version It must be When you launch python in a command line, you can also verify that you installed the 64 bits version Then you can check where gudhi is installed: $ pip -V
pip X.Y.Z from /some/path/lib/python3.6/site-packages/pip (python 3.6) It means gudhi is installed by pip in the directory |
I have checked it, in the installed gudhi folder, files such as rips_complex.cp36-win_amd64.pyd are found, but alpha_complex.*.pyd is not found. I guess it is missing this file. Just download it and place it in the gudhi folder. |
Install with "conda" fixed the problem. |
Hello, thank you for your works
When I run the Tuto-GUDHI-alpha-complex-visualization.py, the error message appears:
ac = gudhi.AlphaComplex(off_file = 'datasets/tore3D_1307.off')
AttributeError: module 'gudhi' has no attribute 'AlphaComplex'
This error message also appeared in other codes. Do you know how to solve it? Did the problem occur when I installed the gudhi library?
The text was updated successfully, but these errors were encountered: