Hello,
The reason you can't import that function is because it doesn't exist in the package. generic_function in the documentation acts as a placeholder for other functions in the package as mentioned here.
Tutorials on how to use the different tools are available here.
ImportError: cannot import name 'generic_function' fro m 'gaiaxpy' (/home/swastik/anaconda3/lib/python3.8/site-packages/gaiaxpy/init.py)
Hi. I am getting this error while using galpy :/