Hi, before anything, I did my search and could not find a solution.
I have been trying to use python with MQTT using
paho-mqtt library and get
Out of memory 12 error as below:
root@Omega-6A5A:~# pip3 install paho-mqtt
Running command python setup.py egg_info
Error [Errno 12] Out of memory while executing command python setup.py egg_info
Could not install packages due to an EnvironmentError.
Traceback (most recent call last):
File "/install.py", line 318, in run
File "/resolve.py", line 102, in resolve
File "/resolve.py", line 256, in _resolve_one
File "/resolve.py", line 209, in _get_abstract_dist_for
File "/prepare.py", line 298, in prepare_linked_requirement
File "/prepare.py", line 126, in prep_for_dist
File "/req_install.py", line 473, in run_egg_info
File "/misc.py", line 659, in call_subprocess
File "/subprocess.py", line 729, in __init__
File "/subprocess.py", line 1295, in _execute_child
OSError: [Errno 12] Out of memory
Well, I figure out it was lack of
/overlay space.. then, I added SD card support in my Omega's filesystem:
root@Omega-6A5A:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 7.8M 7.8M 0 100% /rom
tmpfs 29.2M 236.0K 29.0M 1% /tmp
/dev/mmcblk0 7.3G 41.9M 6.9G 1% /overlay
overlayfs:/overlay 7.3G 41.9M 6.9G 1% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock6 6.6M 468.0K 6.1M 7% /mnt/mtdblock6
Yet, canot install
paho-mqtt due to memory issues.
Am I missing something?