Re: [Maya-Python] mayapy interpreter error with Anaconda

2018-02-21 Thread Mike Bourbeau
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

Re: [Maya-Python] mayapy interpreter error with Anaconda

2017-10-11 Thread Trystan James
Gah! Sorry and thanks so much :-) On 8 October 2017 at 21:56, Justin Israel wrote: > On Mon, Oct 9, 2017 at 9:38 AM Trystan James > wrote: > >> Ah, sorry crossed wires. All a bit new to me! Yup so I've edited my >> project settings similarly to

Re: [Maya-Python] mayapy interpreter error with Anaconda

2017-10-08 Thread Justin Israel
On Mon, Oct 9, 2017 at 9:38 AM Trystan James 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

Re: [Maya-Python] mayapy interpreter error with Anaconda

2017-10-08 Thread Trystan James
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

Re: [Maya-Python] mayapy interpreter error with Anaconda

2017-10-08 Thread Justin Israel
On Mon, Oct 9, 2017, 6:39 AM Trystan James 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', >

Re: [Maya-Python] mayapy interpreter error with Anaconda

2017-10-08 Thread Trystan James
>>> 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',

Re: [Maya-Python] mayapy interpreter error with Anaconda

2017-10-03 Thread Justin Israel
On Wed, Oct 4, 2017 at 9:39 AM Trystan James 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

Re: [Maya-Python] mayapy interpreter error with Anaconda

2017-08-29 Thread Justin Israel
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

Re: [Maya-Python] mayapy interpreter error with Anaconda

2017-08-29 Thread trystan . james
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

Re: [Maya-Python] mayapy interpreter error with Anaconda

2017-08-28 Thread Justin Israel
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? On Tue, Aug 29, 2017 at 9:48 AM wrote: > > > I can't seem to get autocomplete going with anaconda and

[Maya-Python] mayapy interpreter error with Anaconda

2017-08-28 Thread trystan . james
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":  [   {