When exporting for luxblend, i am getting the error Import Error: Unable to find module name BPYRegistry.

Why is this? I tried reinstalling.

First, see if this file is in your .blender folder:

If it is not then your blender install was corrupted.
If it wasn’t, run this script to get more information about your install.

when i reinstalled blender, the scripts directory stayed exactly the samr. Trying the script u gave now.

Sorry for double posting, but i can’t find the edit button.

It turns out the blender in the package repository is older, so it didnt work. However, i do have that file now.

Now my error is this:
NameError: global name ‘ostype’ is not defined