3DFlex Dependencies; Building pycuda

Welcome to the forum @alexlu.
Please can you provide additional information:

  1. the command that produced this error
  2. output of uname -a
  3. output of gcc -v
  4. output of /usr/bin/env

You may also try: