Arduino / Python Environment Setup - PIP

I am trying to set up my Python environment on an Arduino Yun Rev 2. Need to install Pip to work on my project.

running this command causes the process to be automatically KILLED every time.

root@Arduino:/# curl https://bootstrap.pypa.io/get-pip.py | python

I suspect that I am running out of system resources such as disk space, but cannot confirm as I am new to Python and Linux.

Currently running Python version 2.7.14, which apparently does not include Pip.

Thanks,

Steve

I don't run python on my arduino so I can't help you. I think there is a micropython that adafruit uses for some of their boards. Thats the only python I know that works on these types of boards and probably what you want to check out. Micrpython is special version of python for embedded boards

Python should work fine on the Linux side of a Yun. I don't know anything about the details of PIP or what it might require.

I suggest you click Report to Moderator and ask to have your Thread moved to the Yun section of the Forum

...R

I am trying to set up my Python environment on an Arduino Yun Rev 2. Need to install Pip to work on my project.

running this command causes the process to be automatically KILLED every time.

root@Arduino:/# curl https://bootstrap.pypa.io/get-pip.py | python

I suspect that I am running out of system resources such as disk space, but cannot confirm as I am new to Python and Linux.

Currently running Python version 2.7.14, which apparently does not include Pip.

Thanks,

Steve

Here is what I am seeing in the Arudino Kernel log:

[ 2498.878229] Out of memory: Kill process 6586 (python) score 422 or sacrifice child [ 2498.881765] Killed process 6586 (python) total-vm:31716kB, anon-rss:26008kB, file-rss:24kB, shmem-rss:0kB [ 2499.039888] oom_reaper: reaped process 6586 (python), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

But here are the memory resources on the board:

Memory Total Available 31896 kB / 59932 kB (53%) Free 28240 kB / 59932 kB (47%) Buffered 3656 kB / 59932 kB (6%)

root@Arduino:/# df -h / /mnt/sda1 Filesystem Size Used Available Use% Mounted on overlayfs:/overlay 5.6M 284.0K 5.3M 5% / overlayfs:/overlay 5.6M 284.0K 5.3M 5% /

Here is what I am seeing in the Arudino Kernel log:

[ 2498.878229] Out of memory: Kill process 6586 (python) score 422 or sacrifice child [ 2498.881765] Killed process 6586 (python) total-vm:31716kB, anon-rss:26008kB, file-rss:24kB, shmem-rss:0kB [ 2499.039888] oom_reaper: reaped process 6586 (python), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

But here are the memory resources on the board:

Memory Total Available 31896 kB / 59932 kB (53%) Free 28240 kB / 59932 kB (47%) Buffered 3656 kB / 59932 kB (6%)

root@Arduino:/# df -h / /mnt/sda1 Filesystem Size Used Available Use% Mounted on overlayfs:/overlay 5.6M 284.0K 5.3M 5% / overlayfs:/overlay 5.6M 284.0K 5.3M 5% /

@stevealbright, please do not cross-post. Threads merged.