I have a Pi zero and explorer phat. in order to get the these to work together i need to install the exlorerhat library. However with the pi zero having no internet connection, i was wondering if there is a way to install it on my computer and transfer it to the pi’s SD card?
then copy it to the /boot/ partition of the SD. Once booted into the Pi, copy to a suitable location, uncompress and run:
sudo python setup.py install
… if you want the examples you will want to copy them from the github repository.
Alternatively I would invest is a WiFi dongle and shim - if only for installation purposes, the workaround outlined here, if you have to repeat regularly, to install additional modules etc could get old very quickly IMO.
and of course you would need smbus installed first and foremost, which is going to be another hurdle with Jessie Lite (I think it is installed by default in the full image).
… honestly, grab a cheap USB dongle, life is too short to mess about with dependencies knocking them out one at a time over a FAT partition.
That is how I do it and just ssh to the zero, its dead easy to setup and from any computer just enable internet sharing.
That is if you have internet access though and its not just a matter of not having a USB ethernet dongle.
The ethernet gadget mode really makes the Zero and its relatively easy to edit the settings whilst in a cardreader for linux.
I had real problems getting linux filesystem support with windows 10 which from memory was never a problem before.
I just dual booted my machine and run debian with windows 10 now.
But like the guys say with no local internet you could download and use the packaging tool dkpg but wow can quickly turn into hassle and a long winded method.
I do the ethernet tweaks as it makes things real easy.
Its shows the mac method of internet sharing but in windows just go to the main internet ethernet device properties and share it. Its the same setup.