wireless and python
Seth Arnold
seth.arnold at canonical.com
Wed Sep 2 01:40:42 UTC 2015
On Fri, Aug 28, 2015 at 01:19:01AM -0400, Christian Grippo wrote:
> I just installed snappy in beaglebone rev c, but now I can't solve the
> following issues....specially installing the wireless..... any help would
> be appreciated....
>
> 1) How do you install python
>
> sudo snappy install python-pip python-setuptools python-smbus
>
>
> Installing python-pip
>
> python-pip failed to install: snappy package not found
>
>
> snappy doesn't seem to have anything that I normally could get with sudo
> apt-get install
Hello,
I know Manik already gave you some feedback but I wanted to give a second
opinion.
I think Python and modules are things that you would supply yourself in
the snap:
- Python upgrades are often not backwards-compatible. You test your
software, and all your dependencies, with whatever version of Python
you'd want to deploy. If you want a newer Python, you want to test
your code and deps extensively first.
- Installing modules on the fly at runtime introduces complex errors --
some packages may not download, other packages may have been replaced
in transit by a malicious entity, developers may have accidentally
uploaded a completely broken version, or a subtly broken version
that is fatal for your application, an update may require more of
the operating system than snappy can provide, or the system might run
out disk space. If you bundle the modules in your snap, you get the
transactional update behaviour for free from snappy and don't need to
consider any of these errors.
- Providing your own dependencies gives you the opportunity to configure
and compile the bare minimum which may have storage, speed, and security
benefits.
Of course, the flip side of the equation is that you become responsible
for all security and reliability updates of all your dependencies. But you
get an opportunity to test your software before deploying the fixes and
you can ensure all the dependencies work well together.
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150901/474f054c/attachment.pgp>
More information about the snappy-app-devel
mailing list