distutils on Conduit device
- This topic has 2 replies, 2 voices, and was last updated 10 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Conduit: mLinux Model › distutils on Conduit device
I have a conduit device that I need to install some external Python modules. Their setup requires distutils, but it doesn’t appear to be available.
root@mtcdt:~# uname -a
Linux mtcdt 3.12.27 #1 Wed May 27 01:49:19 CDT 2015 armv5tejl GNU/Linux
root@mtcdt:~# python
Python 2.7.3 (default, May 27 2015, 02:46:11)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import distutils
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named distutils
>>>
Is it possible to get distutils on this device?
Hi Andy,
Please try the following and see if it helps:
a. Go to /mlinux-3.x/layers/meta-mlinux/recipes-core/images/ folder and edit the mlinux-factory-image.bb as follow:
*Under section:
———————————————–
#Python modules
IMAGE_INSTALL += “python-async \
…
python-distutils \ <–Add this python-distutils module at the end.
”
———————————————–
* Save it.
b. Do: bitbake mlinux-factory-image
c. Upload the image to your device.
Thanks,
BT
Thanks Bryan, worked great.