-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named distutils.core #9
Comments
Not a stupid question at all, I had left one dependency out of the install instructions (fixed now). Do:
Then give it another try. Let me know how it goes. |
Oops. More trouble. Traceback (most recent call last): File "/tmp/tmpWpqQm5.py", line 10, in
File "/usr/lib/python2.7/distutils/util.py", line 527, in byte_compile
ImportError: No module named py_compile From: Alexander Hiam [mailto:notifications@github.com] Not a stupid question at all, I had left one dependency out of the install instructions (fixed now). Do: opkg install python-distutilsThen give it another try. Let me know how it goes. — |
Hmm, it seems there's some version issues with distutils. First it would be great if you could post the output of:
and
Then make sure you have the latest PyBBIO and install with the '-f' flag to bypass distutils:
That should hopefully do the trick. |
I just opened a new BeagleBone and have the same problem after updating and upgrading with opkg. PyBBIO works if you force install. Here is the info you asked for:
Per the serial number, this unit was manufactured in the 30th week of 2012. |
Thanks, and I'm glad to hear the force install worked. I may just abandon distutils; it's not the best fit anyway, as PyBBIO is more of a 'programming environment' than a Python module. |
@bduhan could you post your force install directions for PyBBIO? I'm getting the same install errors as @TheNorm95010 (though I'm on newer hardware (Python 2.7.3 and distutils 2.7.3). |
@Nilloc just add the
Are you on a BeagleBone Black or original BeagleBone? What kernel version are you running? ( |
root@beaglebone:~/pexpect/pexpect-2.3# opkg install python-distutils |
@james-wang-atx looks like you probably have an old image, I don't think the old Angstrom images are really being maintained so opkg repos may break and disappear. I'd recommend flashing the new Debian image from http://beagleboard.org/latest-images/ |
I'm struggling with this whole unix python beaglebone thing so please forgive what must be a stupid question...
When I attempt to install your code I get the above error.
I see a note regarding distutils.core but do not understand how to correct the problem. Has the fix not been incorporated into the release? How do I fix it?
The text was updated successfully, but these errors were encountered: