Clockmender / Clockworx-Music

A set of Nodes and New Node Editor to produce Music from Animations and Animations from Music
GNU General Public License v3.0
27 stars 2 forks source link

Cannot enable checkbox #3

Closed eunice0216 closed 3 years ago

eunice0216 commented 3 years ago

IMG_20210611_093608

Hi, i have install the clockworx-music in blender 2.9.3. It has show up in user preferences but cannot enable the checkbox. May I know how to fix it?

Clockmender commented 3 years ago

Hello,

You have to install PyGame Python library as it says on the README in this page here:

https://github.com/Clockmender/Clockworx-Music

And repeated in the Wiki - Install Page here:

https://github.com/Clockmender/Clockworx-Music/wiki/01-Download-and-Installation

Then all should be fine and work well. I have tested it with 2.93 on Mac and have updated the install instructions to reflect the exact python version being used now. PyGame is used to access MIDI controllers by the way, so is necessary for the Live! MIDI functions and using controllers/keyboards to set parameters in the NodeTrees.

Let me know if you have any problems doing this.

Cheers Clock.

eunice0216 commented 3 years ago

Hi Clock, i have try a few days to install PyGame Python library, but i have no idea. Could you teach me how to install? And where to find PyGame Python library

Clockmender commented 3 years ago

So, on a Mac you open a terminal and navigate to the Blender App: type these commands and press return after each one:

cd /Applications

cd Blender.app/Contents/Resources/2.93/python/bin

./python3.9 -m ensurepip

./python3.9 -m pip install pygame

That does it for you! Pip will know where to get the file and will download and install it for you. It is vital that you use the local python file, you must put ./ in front of it or it will load the library into your system python area, Blender won't see that!

If you are on Windows, you need to find where the Blender python folder is.... It might be worth doing a search for python39.exe in your file browser - I never use Windows so can't really tell you...

This may be useful:

https://blenderartists.org/t/how-to-install-python-packages-with-pip-blender-2-8/1142721

You need to check the version number for Blender of course. This is in one of the posts, just adjust it for pygame:

Screenshot 2021-06-14 at 13 38 17

It looks like the Blender file location on Windows is here:

C:\Program Files\blender293\2.93\python\bin\ and is probably python39.exe.....

Try that, it may be you have to find it in your file browser.

eunice0216 commented 3 years ago

thank you!