pygran icon indicating copy to clipboard operation
pygran copied to clipboard

bug with pygran

Open estebanpatino21 opened this issue 1 year ago • 3 comments

Hello, I already have LIGGHTS installed on my computer, run the examples and display them in ParaView and it worked perfectly. Understanding the LIGGGHTS scripts is difficult, that's why I'm trying to install pygran but it's not working.

Traceback (most recent call last): File "compaction.py", line 1, in from pygran import simulation ModuleNotFoundError: No module named 'pygran'

I read the comments of the other reported bugs and tried this:

pip uninstall pygran -y pip install pygran[extra]

To confirm you have the right version, run: python -c "import pygran; print('pygran version = ', pygran.version)"

But it still doesn't work:

Traceback (most recent call last): File "", line 1, in AttributeError: module 'pygran' has no attribute 'version'

Using pip list yes i see pygran 1.4.0

My goal is to run a triaxial compression test of a sand.

I have windows 11 and install ubuntu from the microsoft store: Ubuntu 2204.2.33.0 In ubuntu I have two versions of python 3.10.6 and 3.7.17, for recommendations I set version 3.7.17 as the default

I hope you can help me with this installation or give me advice to reach my goal.

Thank you so much.

Esteban Patiño [email protected] Civil engineering student National university of Colombia

estebanpatino21 avatar Jul 14 '23 16:07 estebanpatino21