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

# Error: AttributeError: file <maya console> line 2: module 'autoRigger.autoRigger' has no attribute 'show' #6

Open
aedilynn opened this issue Dec 11, 2022 · 8 comments

Comments

@aedilynn
Copy link

I'm trying to run this in the script:
from autoRigger import autoRigger autoRigger.show()

However, I'm getting this error, as stated in the title:

Error: AttributeError: file line 2: module 'autoRigger.autoRigger' has no attribute 'show'

I checked that the folder is named autoRigger, and that it's in the correct directory ( User/Documents/maya/2023/scripts ). I'm just not sure why it's not working or what I'm doing wrong

@leixingyu
Copy link
Owner

can you run this and copy the output here:

from autoRigger import autoRigger
print(autoRigger)

@aedilynn
Copy link
Author

aedilynn commented Dec 12, 2022

Error: ModuleNotFoundError: file C:\Users\kathy\OneDrive\Documents\maya\2023\scripts\autoRigger\autoRigger.py line 8: No module named 'Qt'

is what I end up getting

@leixingyu
Copy link
Owner

leixingyu commented Dec 13, 2022

please follow the instruction and download the package which includes Qt.py
https://github.com/leixingyu/autoRigger#launch

@aedilynn
Copy link
Author

Hi, I did :)
Didn't work

@leixingyu
Copy link
Owner

Okay, you can try following this: https://github.com/mottosso/Qt.py#install

@DanWuh
Copy link

DanWuh commented Jan 11, 2023

@aedilynn - Its because the submodules are not included in the zip download. If you are using git clone then you have to include "--recurse-submodules" as part of the command to pull down all the submodules that are included, QT being one of them. Side note, nice autorigger ;)

@ayobaba-dev
Copy link

im having this issue now how did he fix it the last time

@ayobaba-dev
Copy link

ayobaba-dev commented Jan 1, 2024

this is how i got it to work,i went to _https://github.com/leixingyu/autoRigger/tree/v2.0.1 where i went to code and opened with github desktop, i had earlier installed (1) Github desktop app (you can do a google search) (2)GIT UI app for windows(you can do a google search).i cloned the repository with the Github app into any reachable location on my C;drive ,then cloned the cloned repository from my Location into the Maya version\ scripts folder with the GIT UI, checking full clone and "--recurse-submodules",i now pasted the cloned folder into my maya\modules\scripts folder, launch maya and type
from autoRigger import autoRigger
autoRigger.show()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants