DreamWall-Animation / dwpicker

Animation picker.
MIT License
154 stars 31 forks source link

installation error #95

Open saleemian opened 1 month ago

saleemian commented 1 month ago

I did this script according to your instruction, but no matter what I do, the script does not run, it gives an error It gives this error import dwpicker dwpicker.show()

Error: ImportError: file line 1: No module named dwpicker

I am working in Maya 2020 and I copied this script, please help me

mainnguyen63 commented 1 month ago

I'm working Maya 2020 too. I have another error after running the same code in Maya: import dwpicker dwpicker.show()

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

mainnguyen63 commented 1 month ago

I download maya 2024, install dreamwall picker like in Read Me file. All the same steps I did in maya 2020. In maya2024, dreamwall pickers are installed without any hiccups. I still didn't know what was the problem, I would like to use the picker in maya2020 because of my animbot version

mainnguyen63 commented 1 month ago

I did this script according to your instruction, but no matter what I do, the script does not run, it gives an error It gives this error import dwpicker dwpicker.show()

Error: ImportError: file line 1: No module named dwpicker

I am working in Maya 2020 and I copied this script, please help me

The lastest version of DreamWall Picker doesn't work in maya 2020. Up til Release 0.11.1, it works with maya 2020

DJLegends1011 commented 1 month ago

so anybody know how to fix this on maya 2025?

WangYihupou commented 3 weeks ago

I'm working Maya 2020 too. I have another error after running the same code in Maya:

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

brunet1990 commented 2 weeks ago

so anybody know how to fix this on maya 2025? you probably copy dwpicker-main folder, but you need to copy folder inside this folder with name dwpicker (without any main and so on). once you do that you will be fine.

brunet1990 commented 2 weeks ago

I'm working Maya 2020 too. I have another error after running the same code in Maya:

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

so anybody know how to fix this on maya 2025? you probably copy dwpicker-main folder, but you need to copy folder inside this folder with name dwpicker (without any main and so on). once you do that you will be fine.

fabiencollet commented 1 week ago

Hello, I found the error it was due to a F string in the __init__.py file at the line 9 F string needs python 3 but python 3 is only available since Maya 2022 so for older version that's cause an issue.

I will do a Pull request to propose the fix

fabiencollet commented 1 week ago

here is the Pull request: https://github.com/DreamWall-Animation/dwpicker/pull/100

miksand commented 1 week ago

Also just installed this version on Maya 2020. can not load in the Picker Window. Version 0.11.1 still works on Maya 2020.

Got error:

Error: SyntaxError: file line 1: invalid syntax

and

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

fabiencollet commented 1 week ago

@miksand @brunet1990 @WangYihupou @mainnguyen63 @saleemian You could fix the plugin by yourself before the merging of the fix propose here : https://github.com/DreamWall-Animation/dwpicker/pull/100

Step to fix it manually:

let me know if you get trouble to fix it

miksand commented 1 week ago

Thank you. The fix works!