Closed thejmazz closed 8 years ago
Hello thejmazz,
The Python scripts in the examples need to be passed the directory that contains the 'pyfluid' package. This is so that Python knows where to search when importing the package. The pyfluid package is located in the build/fluidsim/
directory, so the following command should work:
python example_hello_world.py ../../../build/fluidsim/
It's an easy mistake to make, and you almost had it right. I suppose that the wording in the ImportError message could be unclear and easily misinterpreted, so I'll change it to something better.
Hope this helps!
Best Regards, Ryan
ahh that makes sense. cheers!
build worked fine, so not sure if I am missing something?
In the mean time I can try to use C++, but I'm not too sure how to compile that. What I attempted:
which gave errors.
Edit nvm, figured out how to use
main.cpp
:)