# Install PiicoDev\_RFID\_Expansion.py for full functionality error

**URL:** <https://forum.core-electronics.com.au/t/install-piicodev-rfid-expansion-py-for-full-functionality-error/16848>\
**Category:** Micropython\
**Created:** [15 April 2023 11:16 UTC](https://forum.core-electronics.com.au/t/install-piicodev-rfid-expansion-py-for-full-functionality-error/16848 "2023-04-15T11:16:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve2052](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@Steve2052](https://forum.core-electronics.com.au/u/Steve2052)\
**Post date:** [15 April 2023 11:16 UTC](https://forum.core-electronics.com.au/t/install-piicodev-rfid-expansion-py-for-full-functionality-error/16848/1 "2023-04-15T11:16:04Z")

</div>

Hi All,  
This is an interesting error,  
“Install PiicoDev\_RFID\_Expansion.py for full functionality”  
Place tag near the PiicoDev RFID Module

The RFID tag is read in without a problem , I have the “PiicoDev\_RFID\_Expansion.py” in the Lib directory of my PicoW .  
 ![Pico_dir](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/d/d735e8db4cc95996066d24251f0ec3f08dac48d8.jpeg)  
as you can see in the Picture, the interesting thing about this , that if you put it in the root Dir, you don’t get that error?.  
so the file looks like a library like the Piicodev\_unifiied.py , is this the case with the RFID expansion?.

thanks 😀

regards  
Crash

---

<div class="post-metadata">

**Author:** ![James](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/james/32/4400_2.png) [@James](https://forum.core-electronics.com.au/u/James)\
**Post date:** [17 April 2023 01:16 UTC](https://forum.core-electronics.com.au/t/install-piicodev-rfid-expansion-py-for-full-functionality-error/16848/2 "2023-04-17T01:16:54Z")

</div>

Hi Crash, happy cake day!

> [@Steve2052](#):
>
> “Install PiicoDev\_RFID\_Expansion.py for full functionality”

This error message is generated by the following code:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/4/47e2dd23560592adc3689d33804c6b32d78b7c33.png)  
Essentially what it does is try and import the expansion library file, and if it can’t (like if it’s in a subfolder), it’ll spit out that error message.

If you’re on a micro:bit you’ll get a different message (hence the `!= microbit` check above this), as the micro:bit doesn’t have enough flash to store the expansion, so you don’t want to prompt a user to try.

I’m not crystal clear on (Micro)Python’s import rules (I’m more of a C man), so I’m not sure why the subfolder is causing the error, you could try just running `from PiicoDev_RFID_Expansion import *` in the REPL in order to see the uncaught error message.
