raganmd / touchdesigner-hueControl

Components for controlling hue lights from TouchDesigner
MIT License
54 stars 4 forks source link

Missing script files for install #16

Closed mimiyin closed 2 years ago

mimiyin commented 3 years ago

Is there a new process for installing dependencies? There are no longer script files inside of dev/dep. I was able to get it working by installing phue manually but would love to use this for a beginner class and want to iron out the install issues. Thank you for creating this!

raganmd commented 3 years ago

What's your OS @mimiyin?

On Windows the process should look like:

Testing the above, that creates all of the required pieces.

Currently, the install process does rely on a OS installation of python 3 that matches with TD's built in version. This uses a subprocess call to launch a pip install process. It could be a mismatch there if you're seeing some issues.

raganmd commented 3 years ago

For reference, in the comp there's extHelperMOD this contains all of the helper and installation process code for pulling these outside dependencies into TD. There's a long going conversation on the Derivative forum about how best to work with python dependencies, and how to pull in outside libraries.

mimiyin commented 3 years ago

Thx for the quick response. I just tried it on Windows and it works like a charm. But still doesn't work on my macOS Catalina (10.15.7) The install script doesn't appear to run at all. Terminal should pop open for a second? The first time I toggle "Cooking" I get an additional error that complains about not being able to find "requirements.txt". The error disappears on subsequent toggles.

raganmd commented 3 years ago

Ahh, okay. I don't have a mac handy to debug this on until tomorrow.

macOS is a little pickier about how it handles some of these elements, and it's a good brain buster to get this playing nicely.

When is your class planned to start? I can work on a fix here, but it might be the weekend before I can get this knot untangled.