Fourier Transforms - Spectogram.py won't run

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
crafty184
 
Posts: 21
Joined: Tue Oct 08, 2013 12:14 pm

Fourier Transforms - Spectogram.py won't run

Post by crafty184 »

I am at my wit's end. I want to get the Fourier Transforms tutorial (https://learn.adafruit.com/fft-fun-with ... pectrogram) working for me, and I cannot. I've been working on this for days.

Mac OS X 10.10.2

I have followed the tutorial to the letter, but

Code: Select all

Mini:adafruit_guide_fft-master teacher$ python.app Spectrogram.py
Traceback (most recent call last):
  File "Spectrogram.py", line 15, in <module>
    from PySide import QtGui
ImportError: No module named PySide
What have I done wrong?

I've attempted to install pyside separately, but to no avail. Help is appreciated.

User avatar
crafty184
 
Posts: 21
Joined: Tue Oct 08, 2013 12:14 pm

Re: Fourier Transforms - Spectogram.py won't run

Post by crafty184 »

In the event this is helpful

Code: Select all

Mini:adafruit_guide_fft-master teacher$ which python
/Users/teacher/anaconda/bin/python

User avatar
crafty184
 
Posts: 21
Joined: Tue Oct 08, 2013 12:14 pm

Re: Fourier Transforms - Spectogram.py won't run

Post by crafty184 »

I think I have this figured out. I am posting this reply in the event it helps someone else.

I didn't realize that Anaconda doesn't "see" the packages I installed using pip or homebrew (in retrospect, duh on my part).

Here are the commands I used. Perhaps a tutorial update is due? It appears pyside doesn't come with the Anaconda dist.

1. conda update conda

2. conda update anaconda

3. conda install pyside

As soon as I did Anaconda installed and Spectrogram ran and seems it may be working.

Chris

Locked
Please be positive and constructive with your questions and comments.

Return to “For Educators”