mayapy interpreter error with Anaconda

311 views
Skip to first unread message

trysta...@gmail.com

unread,
Aug 28, 2017, 5:48:07 PM8/28/17
to Python Programming for Autodesk Maya


I can't seem to get autocomplete going with anaconda and sublime text. I'm getting an "Anaconda can not spawn a new process with your current configured python interpreter(python)" error.

Any ideas? Or should I revert to using system python interpreter?

 "build_systems":
 [
  {
   "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
   "name": "Anaconda Python Builder",
   "selector": "source.python",
   "shell_cmd": "\"python\" -u \"$file\""
  }
 ],
 "extra_paths":
 [
  "C:/Program Files/Autodesk/Maya2017/devkit/other/pymel/extras/completion/py/"
 ],
 "setttings":
 {
  "python_interpreter": "C:/Program Files/Autodesk/Maya2017/bin/mayapy.exe"
 }
}

Justin Israel

unread,
Aug 28, 2017, 5:52:51 PM8/28/17
to Python Programming for Autodesk Maya
I don't think it is necessary to set your interpreter to mayapy in order to get completions. Isn't that what the autocomplete stubs are for, provided with pymel?

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/f4520e7b-4a43-4182-aebf-92969b6cf97f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

trysta...@gmail.com

unread,
Aug 29, 2017, 3:23:45 PM8/29/17
to Python Programming for Autodesk Maya
Hey Justin,

Yes that's what the "C:/Program Files/Autodesk/Maya2017/devkit/other/pymel/extras/completion/py/" path is supposed to do. I just wondered why mayapy wasn't working since not having an interpreter seems to bork it too. I didn't really want to add another python installation since it definitely works standalone but I guess it's my only option since it's pointing in the right place!

Cheers, Trystan.

Justin Israel

unread,
Aug 29, 2017, 3:28:25 PM8/29/17
to Python Programming for Autodesk Maya

Does "bork" mean you don't get Maya autocompletion? Or that the entire Anaconda doesn't work? If it means the Maya completions aren't working (but standard lib stuff is) then you probably just need to update the PYTHONPATH for anaconda to include the Maya stubs. If it's really not working for anything, then maybe it isn't finding your system python on the PATH and you need to adjust that in anaconda to find Python.


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

Trystan James

unread,
Oct 3, 2017, 4:39:07 PM10/3/17
to python_in...@googlegroups.com
Long time no reply!  Work crunch...
Python auto complete works but flags a failure to find the python interpreter even with an explicit python interpreter path. The maya auto completion doesn't work so I presumed the error was connected but it's counter intuitive...

On 29 August 2017 at 20:28, Justin Israel <justin...@gmail.com> wrote:

Does "bork" mean you don't get Maya autocompletion? Or that the entire Anaconda doesn't work? If it means the Maya completions aren't working (but standard lib stuff is) then you probably just need to update the PYTHONPATH for anaconda to include the Maya stubs. If it's really not working for anything, then maybe it isn't finding your system python on the PATH and you need to adjust that in anaconda to find Python.


On Wed, Aug 30, 2017, 7:23 AM <trysta...@gmail.com> wrote:
Hey Justin,

Yes that's what the "C:/Program Files/Autodesk/Maya2017/devkit/other/pymel/extras/completion/py/" path is supposed to do. I just wondered why mayapy wasn't working since not having an interpreter seems to bork it too. I didn't really want to add another python installation since it definitely works standalone but I guess it's my only option since it's pointing in the right place!

Cheers, Trystan.


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3hZ984GBY3bsTOj4D1HsLwzc6hGvJpmmzgAs_yhYw3Hg%40mail.gmail.com.

Justin Israel

unread,
Oct 3, 2017, 6:10:13 PM10/3/17
to python_in...@googlegroups.com
On Wed, Oct 4, 2017 at 9:39 AM Trystan James <trysta...@gmail.com> wrote:
Long time no reply!  Work crunch...
Python auto complete works but flags a failure to find the python interpreter even with an explicit python interpreter path. The maya auto completion doesn't work so I presumed the error was connected but it's counter intuitive...

Right, but what I was suggesting was to not try and set the python interpreter to point at mayapy. Does it complain even about finding your standard system python? 

If you were to just update your PYTHONPATH to include the pymel stubs, I would think it should autocomplete for Maya commands.
 

On 29 August 2017 at 20:28, Justin Israel <justin...@gmail.com> wrote:

Does "bork" mean you don't get Maya autocompletion? Or that the entire Anaconda doesn't work? If it means the Maya completions aren't working (but standard lib stuff is) then you probably just need to update the PYTHONPATH for anaconda to include the Maya stubs. If it's really not working for anything, then maybe it isn't finding your system python on the PATH and you need to adjust that in anaconda to find Python.


On Wed, Aug 30, 2017, 7:23 AM <trysta...@gmail.com> wrote:
Hey Justin,

Yes that's what the "C:/Program Files/Autodesk/Maya2017/devkit/other/pymel/extras/completion/py/" path is supposed to do. I just wondered why mayapy wasn't working since not having an interpreter seems to bork it too. I didn't really want to add another python installation since it definitely works standalone but I guess it's my only option since it's pointing in the right place!

Cheers, Trystan.


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CA%2BOh_j86eG7_ryt5%3D8heOjNpGEF4RRW32j57vdpmtPT42rTQiA%40mail.gmail.com.

Trystan James

unread,
Oct 8, 2017, 1:39:48 PM10/8/17
to python_in...@googlegroups.com
>>> import sys
>>> sys.path.append("C:\\Program Files\\Autodesk\\Maya2017\\devkit\\other\\pymel\\extras\\completion\\py\\")
>>> print sys.path
['', 'C:\\Users\\tryst\\Anaconda2\\python27.zip', 'C:\\Users\\tryst\\Anaconda2\\DLLs', 'C:\\Users\\tryst\\Anaconda2\\lib', 'C:\\Users\\tryst\\Anaconda2\\lib\\plat-win', 'C:\\Users\\tryst\\Anaconda2\\lib\\lib-tk', 'C:\\Users\\tryst\\Anaconda2', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages\\Babel-2.5.0-py2.7.egg', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages\\win32', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages\\win32\\lib', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages\\Pythonwin', 'C:\\Program Files\\Autodesk\\Maya2017\\devkit\\other\\pymel\\extras\\completion\\py\\']

both python interpreter and completion stubs are on PYTHONPATH...but still doesn't recognise either...think I might try another IDE...
Thanks very much for the tips though sir! 

On 3 October 2017 at 23:09, Justin Israel <justin...@gmail.com> wrote:
On Wed, Oct 4, 2017 at 9:39 AM Trystan James <trysta...@gmail.com> wrote:
Long time no reply!  Work crunch...
Python auto complete works but flags a failure to find the python interpreter even with an explicit python interpreter path. The maya auto completion doesn't work so I presumed the error was connected but it's counter intuitive...

Right, but what I was suggesting was to not try and set the python interpreter to point at mayapy. Does it complain even about finding your standard system python? 

If you were to just update your PYTHONPATH to include the pymel stubs, I would think it should autocomplete for Maya commands.
 

On 29 August 2017 at 20:28, Justin Israel <justin...@gmail.com> wrote:

Does "bork" mean you don't get Maya autocompletion? Or that the entire Anaconda doesn't work? If it means the Maya completions aren't working (but standard lib stuff is) then you probably just need to update the PYTHONPATH for anaconda to include the Maya stubs. If it's really not working for anything, then maybe it isn't finding your system python on the PATH and you need to adjust that in anaconda to find Python.


On Wed, Aug 30, 2017, 7:23 AM <trysta...@gmail.com> wrote:
Hey Justin,

Yes that's what the "C:/Program Files/Autodesk/Maya2017/devkit/other/pymel/extras/completion/py/" path is supposed to do. I just wondered why mayapy wasn't working since not having an interpreter seems to bork it too. I didn't really want to add another python installation since it definitely works standalone but I guess it's my only option since it's pointing in the right place!

Cheers, Trystan.


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2-F-XJDa%3D8FKz9PKVxoBKrUmpYz19Q6vzcUbOW8ayraQ%40mail.gmail.com.

Justin Israel

unread,
Oct 8, 2017, 2:16:51 PM10/8/17
to python_in...@googlegroups.com


On Mon, Oct 9, 2017, 6:39 AM Trystan James <trysta...@gmail.com> wrote:
>>> import sys
>>> sys.path.append("C:\\Program Files\\Autodesk\\Maya2017\\devkit\\other\\pymel\\extras\\completion\\py\\")
>>> print sys.path
['', 'C:\\Users\\tryst\\Anaconda2\\python27.zip', 'C:\\Users\\tryst\\Anaconda2\\DLLs', 'C:\\Users\\tryst\\Anaconda2\\lib', 'C:\\Users\\tryst\\Anaconda2\\lib\\plat-win', 'C:\\Users\\tryst\\Anaconda2\\lib\\lib-tk', 'C:\\Users\\tryst\\Anaconda2', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages\\Babel-2.5.0-py2.7.egg', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages\\win32', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages\\win32\\lib', 'C:\\Users\\tryst\\Anaconda2\\lib\\site-packages\\Pythonwin', 'C:\\Program Files\\Autodesk\\Maya2017\\devkit\\other\\pymel\\extras\\completion\\py\\']

both python interpreter and completion stubs are on PYTHONPATH...but still doesn't recognise either...think I might try another IDE...
Thanks very much for the tips though sir! 

Modifying sys.path isn't going to have an effect on the Anaconda plugin. Are you doing that from the console inside Sublime or something? 

Did you read the section on Extra Paths? 

You can configure that via "Edit Project" to make it per project settings or you can configure that in your global preferences to always be on your python path for any project. 


On 3 October 2017 at 23:09, Justin Israel <justin...@gmail.com> wrote:
On Wed, Oct 4, 2017 at 9:39 AM Trystan James <trysta...@gmail.com> wrote:
Long time no reply!  Work crunch...
Python auto complete works but flags a failure to find the python interpreter even with an explicit python interpreter path. The maya auto completion doesn't work so I presumed the error was connected but it's counter intuitive...

Right, but what I was suggesting was to not try and set the python interpreter to point at mayapy. Does it complain even about finding your standard system python? 

If you were to just update your PYTHONPATH to include the pymel stubs, I would think it should autocomplete for Maya commands.
 

On 29 August 2017 at 20:28, Justin Israel <justin...@gmail.com> wrote:

Does "bork" mean you don't get Maya autocompletion? Or that the entire Anaconda doesn't work? If it means the Maya completions aren't working (but standard lib stuff is) then you probably just need to update the PYTHONPATH for anaconda to include the Maya stubs. If it's really not working for anything, then maybe it isn't finding your system python on the PATH and you need to adjust that in anaconda to find Python.


On Wed, Aug 30, 2017, 7:23 AM <trysta...@gmail.com> wrote:
Hey Justin,

Yes that's what the "C:/Program Files/Autodesk/Maya2017/devkit/other/pymel/extras/completion/py/" path is supposed to do. I just wondered why mayapy wasn't working since not having an interpreter seems to bork it too. I didn't really want to add another python installation since it definitely works standalone but I guess it's my only option since it's pointing in the right place!

Cheers, Trystan.


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CA%2BOh_j_ixpKAFehjDAQJ64Bgm_hYv0aJbJyWzcHYwcSvkXQPPA%40mail.gmail.com.

Trystan James

unread,
Oct 8, 2017, 4:39:02 PM10/8/17
to python_in...@googlegroups.com
Ah, sorry crossed wires. All a bit new to me! Yup so I've edited my project settings similarly to my first post but using a standard maya interpreter. Python completion seems happy now but maya related ones still fail.
{

 "build_systems":
 [
  {
   "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
   "name": "Anaconda Python Builder",
   "selector": "source.python",
   "shell_cmd": "\"C:/Users/tryst/Anaconda2/python.exe\" -u \"$file\""

  }
 ],
 "extra_paths":
 [
  "C:/Program Files/Autodesk/Maya2017/devkit/other/pymel/extras/completion/py/"
 ],
 "settings":
 {
  "python_interpreter": "C:/Users/tryst/Anaconda2/python.exe"
 }
}

To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.

Justin Israel

unread,
Oct 8, 2017, 4:56:37 PM10/8/17
to python_in...@googlegroups.com
On Mon, Oct 9, 2017 at 9:38 AM Trystan James <trysta...@gmail.com> wrote:
Ah, sorry crossed wires. All a bit new to me! Yup so I've edited my project settings similarly to my first post but using a standard maya interpreter. Python completion seems happy now but maya related ones still fail.
{

 "build_systems":
 [
  {
   "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
   "name": "Anaconda Python Builder",
   "selector": "source.python",
   "shell_cmd": "\"C:/Users/tryst/Anaconda2/python.exe\" -u \"$file\""

  }
 ],
 "extra_paths":
 [
  "C:/Program Files/Autodesk/Maya2017/devkit/other/pymel/extras/completion/py/"
 ],
 "settings":
 {
  "python_interpreter": "C:/Users/tryst/Anaconda2/python.exe"
 }
}

Seems to me like you have put the settings into the wrong place. They need to go within your "settings" block and not a top level key, as in the documentation:

{
    ...
    "settings": {
        "python_interpreter": "C:/Users/tryst/Anaconda2/python.exe",
        "extra_paths": [
            "C:/Program Files/Autodesk/Maya2017/devkit/other/pymel/extras/completion/py/"
        ]
    }
}

 

To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CA%2BOh_j-DYRbFz4A%2BdXUYADvXO1v3Jq6M8qdVMUyfdEZTtwZKdg%40mail.gmail.com.

Trystan James

unread,
Oct 11, 2017, 4:15:29 PM10/11/17
to python_in...@googlegroups.com
Gah!
Sorry and thanks so much :-)

To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/kCFB2pEny4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1fn2xdXM5O5ysPrmnjzuq6-KBHitnLhiFFEo6nd5_uPA%40mail.gmail.com.

Mike Bourbeau

unread,
Feb 21, 2018, 2:20:46 PM2/21/18
to Python Programming for Autodesk Maya

I'm having an issue with PyCharm and autocomplete. The stubs work for autocompletion, but my code won't execute. I've added the stubs to the PYTHONPATH in my Anaconda environment as you can see in the picture. It looks like these stubs are causing Qt.py to break, because when I remove the Maya stubs everything works.

Here's my testing script: https://gist.github.com/mikebourbeauart/8689e511ce7f5fa1f75db5f39890d058 it just needs PySide Qt.py and python 2.7

Reply all
Reply to author
Forward
0 new messages