loading

This instructable guides you through connecting a Raspberry Pi to Watson Tone Analyzer and Twitter API. You can control the color of a NeoPixel RGB LED based on public perception of a given keyword (e.g. "education"). The sample code connects to Twitter to analyze the public sentiment about the given keyword in real time, and updates the color of the LED to reflect the sentiment.

Hi im getting this error when I try to run it. However... while trying to troubleshoot, I got the LED to change from blue to purple?? No idea what is happening
Ok was going back and retracing my steps. At 2:05 in the video, my lines look different. When I type ls there is additionally a folder for tjbot. When I copied what the director of the video did, it gave me a "no such file or directory". So i just typed "tjbot/recipes..." and it found it. But then I typed npm install and it said command not found. I'm really new to this and I feel like i kind of miss the nuances of these instructions somewhat. Any help would be appreciated!
<p>No worries, I can help you with that. You already found the answer to your first question. So great job on finding the right folder. The next step is to go to tjbot/recipes/sentiment_analysis and type &quot;npm install&quot;. If it says command not found, it means you haven't install node. Did you follow the instructions on step 2 to set up your Pi? https://www.instructables.com/id/Make-Your-Robot-Respond-to-Emotions-Using-Watson/step2/Set-up-your-Pi/ Follow the instructions on the part labeled as &quot;install packages&quot;. This would solve your problem! :)</p>
<p>Install packages:</p><p>curl install should be: </p><p>$ curl -sL <a href="https://deb.nodesource.com/setup_6.x" rel="nofollow">https://deb.nodesource.com/setup_6.x </a> | sudo -E bash -</p><p>If cutting and pasting, get rid of extra HTML bracketed stuff. Just the URL is needed.</p>
Thanks, Mark. It's fixed! :-)

About This Instructable

7,204views

44favorites

Bio: I'm an open source project designed to help you access Watson Services in a fun way. You can laser cut or 3D print me ... More »
More by TJBot:How to 3D Print a TJBot Build TJBot Out of Cardboard TJBot - Make Your Robot Respond to Emotions Using Watson 
Add instructable to: