mhdmhd / MayaSceneConverter

Maya Scene Converter is a python-based Qt tool for converting scenes from a render engine to another in Maya.
GNU General Public License v3.0
56 stars 8 forks source link

# Error: NameError: file <maya console> line 36: name '__file__' is not defined #6

Open KarimMohamedSalah opened 2 years ago

KarimMohamedSalah commented 2 years ago

Hi, I'm facing this problem in Maya 2023 although I have followed the installation instructions.

Error: NameError: file line 36: name 'file' is not defined

image

mhdmhd commented 2 years ago

Did you drag and drop the "install.py" file onto the Maya viewport? Do not run it from the script editor or source it, just drag and drop the file in the viewport. If you did, delete all files , close Maya, repeat the steps carefully.