"AttributeError: 'module' object has no attribute 'Output' " I think you use the code: XX.Output. So you got the error. You can choose one attribute to get.
And, I think mayapy and python is independent to each other, they can use independent,don't need add one to other!! 2012/9/27 flavius <[email protected]> > In case any one is still curious how to do this ... > > If you are using Maya2011 and up, the generous people who brought us pymel > made a skeleton maya package that you can add to your PATH: > > *MAYA_INSTALL_DIR*/devkit/other/pymel/extras/completion/py/ > > Inside that dir there are both the maya and pymel packages. You don't get > any documentation but it's nice to have cmds autocomplete! > > > > On Wednesday, January 4, 2012 1:27:00 PM UTC-8, flavius wrote: >> >> I tried adding all the paths from the mayapy shell to my PYTHONPATH. >> >> tried import pymel in vim but got this error >> >> :py import pymel.core >> >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "/pymel/pymel-1.0.2/pymel/**core/__init__.py", line 7, in >> <module> >> File "/pymel/pymel-1.0.2/pymel/**internal/__init__.py", line 4, in >> <module> >> File "/pymel/pymel-1.0.2/pymel/**internal/plogging.py", line 41, in >> <module> >> File "/pymel/pymel-1.0.2/pymel/**internal/plogging.py", line 35, in >> _fixMayaOut >> put >> AttributeError: 'module' object has no attribute 'Output' >> >> >> On Jan 4, 12:49 pm, flavius <[email protected]> wrote: >> > Looking to get pymel/maya.cmds completion in vim. Anyone get this to >> > work? > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
