Hi Sajeev,

try to remove pymel path from your sys.path, and leave the "pi folder"
in Wing's preferences.

After a few tests, I realized that if you have set pymel folder into
the sys.path or wherever place where python can locate it, Wing will
try to make auto-complete checking the pymel source instead of the pi
files folder. So if you remove the pymel folder, you get auto-complete
but you cannot debug or test code in the Wing's python shell.

I don't know if this is the best way to configure Wing but hope it helps.

miguel.



On Fri, Jan 8, 2010 at 5:30 AM, [email protected]
<[email protected]> wrote:
> Hi,
> Installed pymel 1.0 manually.
> (~/PYMEL)...
>
> And generated the pi files for Wing.(Ian Jones post)
>
> I've setup autocompletion in Wing's preference folder to the directory
> containing the pi files.
> (~/extras/complete)
>
> But auto completion isn't working for me.
>
> import pymel.core as pm
>
> Wing auto completes pymel.core...
>
> pm.bin...does not auto complete...to binding....
>
> If I analyze statistics in Wing I get
>
> Interpreter:
>
> /autodesk/maya2009-x64/bin/mayapy
>
> Effective Python Path:
>
> /home/raven0us/work/python
> /home/raven0us/PYMEL
> /autodesk/maya2009-x64/lib/python2.5zip
> /autodesk/maya2009-x64/lib/python2.5
> /autodesk/maya2009-x64/lib/python2.5/plat-linux2
> /autodesk/maya2009-x64/lib/python2.5/lib-tk
> /autodesk/maya2009-x64/lib/python2.5/lib-dynload
> /autodesk/maya2009-x64/lib/python2.5/site-packages
>
> need some help.
>
> Kind regards
>
> Sajeev
-- 
http://groups.google.com/group/python_inside_maya

Reply via email to