Maya 2010 Python Error when maya 2011 is inst

I have Maya 2011 64 bit and 32 bit installed on my windows 7 machine and I needed to instal Maya 2010 64 on there as Maya for Renderman is not 2011 compatible.

If I remove 2011 instal 2010 works fine. If I then instal 2011 I get this error…

Import Error: No module named python
Invalid Python Environment:
PYTHONHOME not set!
System modules located at C:\ProgramFiles\Autodesk\Maya2010\bin\python26.zip
Python cannot find sys module!
ImportError: No module named python
Invalid Python Environment: Python is unable to find Maya’s Python modules
Python Envirnonment:
PYTHONHOME not set!
System modules located at C:\ProgramFiles\Autodesk\Maya2010\bin\python26.zip
Python cannot find sys module!

Then it crashes out. I def not a techie so forgive any dumbass questions but is there a step by step way to solve this that anyone knows. Many thanks

Peter

Check your system environment variables and your Maya.env for values set to your PYTHONPATH and PATH. Those two will tell Python and Maya where to look for your Python installation.

Thanks Jason
I think maya 2010 is trying to launch off 2011 settings or something

It got past the python error after I put this: into my 2010 Maya.env file

PYTHONHOME=C:\ProgramFiles\Autodesk\Maya2010\bin\python26.zip

Now I am getting

ImportError: No module named maya.app.python
Invalid Python Environment: Python is unable to find Maya’s Python modules
Python Evironment:
PYTHONHOME = C:\ProgramFiles\Autodesk\Maya2010\bin\python26.zip
System modules located at: C:\Program Files\Autodesk\Maya2010\bin\python26.zip
Python cannot find sys module!
ImportError: No module named maya
ImportError: No module named maya.cmds
ImportError: No module named maya.utils
ImportError: No module named maya.mel
ImportError: No module named maya.app
Invalid Python Environment: Python is unable to find Maya’s Python modules
Python Evironment:
PYTHONHOME = C:\ProgramFiles\Autodesk\Maya2010\bin\python26.zip
System modules located at: C:\Program Files\Autodesk\Maya2010\bin\python26.zip
Search path (sys.path):
C:\Program Files\Autodesk\Maya2010\bin
C:\Program Files\Autodesk\Maya2010\bin
C:\Program Files\Smith Micro\PoserFusion\Maya\2010\scripts
C:\Program Files\Autodesk\Maya2010\bin\python26.zip
C:\ProgramFiles\Autodesk\Maya2010\bin\python26.zip\DLLs
C:\ProgramFiles\Autodesk\Maya2010\bin\python26.zip\lib
C:\ProgramFiles\Autodesk\Maya2010\bin\python26.zip\lib\plat-win
C:\ProgramFiles\Autodesk\Maya2010\bin\python26.zip\lib\lib-tk
File “<maya console>”, line 0
SyntaxError: unknown encoding: MBCS
File “<maya console>”, line 0
SyntaxError: unknown encoding: MBCS

many more then

ImportError: No module named maya.app.startup.gui

Try setting PYTHONPATH instead/as well as PYTHONHOME

I would try removing all references to Maya from the %PATH% environmental variable.

Also I don’t think you need to have python26.zip on the end of your %PYTHONPATH% and %PYTHONHOME% variables.