擅长:python、mysql、java
<p>您确定您遵循了pymel eclipse文档中的以下步骤:</p>
<blockquote>
<p>Click the “New Folder” button again, and add the site-packages directory you removed earlier. We did this in order to ensure that the
stub maya package is found before the real maya package. When you’re
done, the main site-packages directory should be somewhere below the
extras/completion/py folder you just added.</p>
</blockquote>
<p>这是将存根添加到自定义解释器的重要部分。最后,您应该设置一个mayapy解释器,并添加这个站点包位置。另外,在创建一个新的pydev项目时,请确保进入它的特定属性并将python解释器设置为您设置的mayapy。否则,您可能仍然使用默认的python interp。在</p>