Background
I am trying to run some python code on a beaglebone ( a single board computer with Linux that is similar to a Raspberry Pi). The version of python and the packages preinstalled onto the device are old. Unfortunately, I am unable to connect the device to the internet and therefore am not able to do pip install [packages]. My work around was to directly install the packages onto the device through ssh (winSCP).
Problem
This approach worked well for most packages. It however, does not work well for numpy. I downloaded numpy (first from its github repo and then through SourceForge) and copied it to the proper directory (the same directory which the older version of numpy was previously installed in ). I than ran a python program utilizing numpy but was left with the error:
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python intepreter from there.
Question
question/14570011 answers why this error can arise however I don't understand what it means - is it relevant? and the same reason for why this error arises?
How would I properly install numpy onto this device (keep in mind the device is not connected to the internet)?
Additional Information