Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maya python error "cannot import name 'cygrpc'" on Apple M1 #1333

Open
ShanethPatterson opened this issue Jan 5, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ShanethPatterson
Copy link

Describe the bug
Hi, have gotten RQD and cueadmin working on Apple M1 by running in a conda osx-64 python3.7 environment. I can connect to the server and see shows from the M1 machines.
The GUI apps do not launch, the icon appears but the console shows errors about sandbox denying library access. I was not able to launch those on my intel Mac either, but they run perfectly on a linux machine so I can run with that.
However, the more important issue is that the Maya shelf doesn't work.

Maya reports:

// Result: untitled
// Error: file: /Applications/Autodesk/maya2024/Maya.app/Contents/scripts/others/pluginWin.mel line 934: ImportError: file /Users/user/miniconda3/envs/opencue_x86_env/lib/python3.7/site-packages/grpc/__init__.py line 23: cannot import name 'cygrpc' from 'grpc._cython' (/Users/fivepeaks/miniconda3/envs/opencue_x86_env/lib/python3.7/site-packages/grpc/_cython/__init__.py)
// Warning: file: /Applications/Autodesk/maya2024/Maya.app/Contents/scripts/others/pluginWin.mel line 934: Failed to run file: /Users/user/Downloads/OpenCue/OpenCue/cuesubmit/plugins/maya/userSetup.py
// Error: file: /Applications/Autodesk/maya2024/Maya.app/Contents/scripts/others/pluginWin.mel line 934:  (userSetup)

I have confirmed in my opencue_x86_env I can import cygrpc and grpc without issues at the command line.
Is there a way to get Maya to operate in the opencue_x86_env environment?

Steps to reproduce the behavior:

  1. Point Maya to CueSubmit Maya Plugin

Expected behavior
I would love to get the OpenCue shelf in Maya!

Version Number
Maya 2024, opencue 0.22, python 3.7

@ShanethPatterson ShanethPatterson added the bug Something isn't working label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant