graycatlabs / PyBBIO

A Python library for Arduino-style hardware IO support on the Beaglebone
https://github.com/graycatlabs/PyBBIO/wiki
MIT License
251 stars 89 forks source link

ImportError: No Module named FileInput #25

Closed zaindar closed 10 years ago

zaindar commented 10 years ago

I have a beaglebone black and I have been trying to install the PyBBIO setup file but the terminal is coming back with the error as said in the title. I didn't make any changes to the file but this needs to be addressed.

alexanderhiam commented 10 years ago

Weird, fileinput is a built-in Python module, so it shouldn't have any trouble importing it. Can you post the entire output when you try to install it?

zaindar commented 10 years ago

Sure, root@beaglebone:~/PyBBIO# python setup.py install Traceback (most recent call last): File "setup.py", line 4, in import fileinput, sys, os ImportError: No module named fileinput

alexanderhiam commented 10 years ago

Hmm, I can't remember why I imported that, but I wasn't actually using it anywhere. I just removed it and pushed the changes, if you do a # git pull then try again it should work.

zaindar commented 10 years ago

Alright, Thanks for the help!

alexanderhiam commented 10 years ago

Any time ;)