I am able to run CPP examples after following the build instructions mentioned in the readme. However, I am unable to run python examples present in python/examples directory.
Setup steps
mkdir build && cd build
cmake .. && make
export PYTHONPATH=$(pwd)/python
export LD_LIBRARY_PATH=$(pwd)/python
Usage
python python/examples/billiard_optimization.py
Error
Traceback (most recent call last):
File "python/examples/billiard_optimization.py", line 7, in <module>
import pytinyopengl3 as p
ModuleNotFoundError: No module named 'pytinyopengl3'
I do see libpytinydiffsim_dual.so libpytinydiffsim.so libpytinyopengl3.so in the build/python folder. It seems to that python is unable to load the modules.
Kindly let me know if there are other steps in using python bindings.
I apologize for repeating the issue. I don't see a delete option. For some reason, GitHub gave me a 404 when I first posted the #63 . However, it did add that issue to the repo.
I am able to run CPP examples after following the build instructions mentioned in the readme. However, I am unable to run python examples present in
python/examples
directory.Setup steps
mkdir build && cd build
cmake .. && make
export PYTHONPATH=$(pwd)/python
export LD_LIBRARY_PATH=$(pwd)/python
Usage
python python/examples/billiard_optimization.py
Error
I do see
libpytinydiffsim_dual.so libpytinydiffsim.so libpytinyopengl3.so
in thebuild/python
folder. It seems to that python is unable to load the modules.Kindly let me know if there are other steps in using python bindings.