Merge pull request #4805 from lesamouraipourpre/patch-2
Docs: Incompatible .mpy file
This commit is contained in:
commit
6546d1330f
@ -45,11 +45,11 @@ This error occurs when importing a module that is stored as a ``mpy`` binary fil
|
||||
(rather than a ``py`` text file) that was generated by a different version of
|
||||
CircuitPython than the one it's being loaded into. Most versions are compatible
|
||||
but, rarely they aren't. In particular, the ``mpy`` binary format changed between
|
||||
CircuitPython versions 1.x and 2.x, and will change again between 2.x and 3.x.
|
||||
CircuitPython versions 1.x and 2.x, 2.x and 3.x, and will change again between 6.x and 7.x.
|
||||
|
||||
So, for instance, if you just upgraded to CircuitPython 2.x from 1.x you'll need to download a
|
||||
So, for instance, if you just upgraded to CircuitPython 7.x from 6.x you'll need to download a
|
||||
newer version of the library that triggered the error on ``import``. They are
|
||||
all available in the
|
||||
`Adafruit bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/latest>`_
|
||||
and the `Community bundle <https://github.com/adafruit/CircuitPython_Community_Bundle/releases/latest>`_.
|
||||
Make sure to download a version with 2.0.0 or higher in the filename.
|
||||
Make sure to download a version with 7.0.0 or higher in the filename.
|
||||
|
Loading…
Reference in New Issue
Block a user