ECToo / pymel

Automatically exported from code.google.com/p/pymel
0 stars 0 forks source link

Pymel in Maya 2011 #249

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the problem.
 I am unable to run Pymel. I am using Maya 2011. So its already with Pymel. When I go to cmd line for type import pymel.core , I get error something like DLL load failed.

What Version of Maya are you using?
I am using Maya 2011

On what operating system? (be as specific as possible and include service
packs, 64bit vs 32bit, etc)

I am using windows 7, 64 bit

What Version of PyMEL are you using?
Included in Maya 2011

What is the expected output? What do you see instead?

If possible, provide a few lines of code to reproduce the problem. It helps
us if your code will reproduce the problem from a new scene.
after  run mayapy from cmd prompt. Then  I run import pymel.core and I get this 
error

""""""""""
>>> import pymel.core
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files\Autodesk\Maya2011\Python\lib\site-packages\pymel\core\_
_init__.py", line 8, in <module>
    import pymel.versions as _versions
  File "C:\Program Files\Autodesk\Maya2011\Python\lib\site-packages\pymel\versio
ns.py", line 12, in <module>
    from maya.OpenMaya import MGlobal  as _MGlobal
  File "D:\buildforge\Maya_2011_Win64_Build\build\wrk\optim\runTime\Python\Lib\s
ite-packages\maya\OpenMaya.py", line 7, in <module>
ImportError: DLL load failed: The specified procedure could not be found.
>>>

"""""""""""""

Does maya.cmds exhibit the same problem?
Different error .

Please provide any additional information below.

Original issue reported on code.google.com by nanopa...@gmail.com on 29 Jun 2011 at 12:44

GoogleCodeExporter commented 9 years ago
I also am battling with this issue in standalone mode right now. Weird thing is 
that this went away and now suddenly has reappeared for me.

Original comment by cakesso...@gmail.com on 25 May 2012 at 4:05

GoogleCodeExporter commented 9 years ago
Nevermind, I had a brain fart and figured out my issue.

Original comment by cakesso...@gmail.com on 25 May 2012 at 4:20

GoogleCodeExporter commented 9 years ago
What was the issue resolution please.

Original comment by mjearmst...@gmail.com on 10 Mar 2014 at 5:46

GoogleCodeExporter commented 9 years ago
It was a mismatch dll for PyQt. I copied the dll from the Maya bin dir to the 
compiled application's directory.

Original comment by cakesso...@gmail.com on 15 Mar 2014 at 9:32