<p>The slic3r software is written in Perl, a programming language that can be expanded with local libraries.  XML::SAX is one such library.  CPAN is a tool which can be used to retrieve libraries from the CPAN repository (Comprehensive Perl Archive Network, I believe).</p>

<p>I use CPAN is something I do infrequently, so I would be doing a disservice by trying to list the steps here.  Better answers are, no doubt, on stackexchange.  Nevertheless, these may help:</p>

<p>From your command line, start Perl running the CPAN module, and invoke the CPAN shell (your input in <strong>bold</strong>):</p>

<p>&gt; <strong>perl -MCPAN -e shell</strong><br>
cpan> <strong>install XML::SAX</strong><br>
cpan> ... several lines of output ...<br>
Done!<br>
XML::SAX is up to date (0.99).<br>
cpan> <strong>quit</strong><br>
&gt;</p>

<p>With that done, try using slic3r again.</p>

CC BY-SA 3.0
2017-10-31T19:22:15.833Z
2017-10-31T19:22:15.833Z
cmm
<p>When I try to open prepared <code>.amf</code> plate with some items to print, Prusa's Slic3er release throw's this error:</p>

<p><img src="https://i.sstatic.net/xBMGF.png" alt="AMF parsing requires XML::SAX"></p>

<p>The slicer version is 1.30 distributed for Prusa's i3 MK2 1.75 printer.</p>

CC BY-SA 3.0
2017-10-14T14:49:52.543Z
Did you end up finding a solution on this? I assume you've tried reinstalling and/or updating Slic3r already, right? +1 for having to mention XML onto this list, which I never expected....
TextGeek
<prusa-i3><software><slic3r>
Slic3er throws "AMF parsing requires XML::SAX"
Tomáš Zato
# Slic3er throws "AMF parsing requires XML::SAX"

(Asked by: username_0 on 2017-02-11)

When I try to open prepared `.amf` plate with some items to print, Prusa's Slic3er release throw's this error:

![AMF parsing requires XML::SAX](https://i.sstatic.net/xBMGF.png)

The slicer version is 1.30 distributed for Prusa's i3 MK2 1.75 printer.

**Tags:** prusa-i3, software, slic3r
> **Comments:**
> **username_1**: Did you end up finding a solution on this? I assume you've tried reinstalling and/or updating Slic3r already, right? +1 for having to mention XML onto this list, which I never expected....  

---

## 1 answers

### Answer by username_2 on 2017-10-31. Score: 2

The slic3r software is written in Perl, a programming language that can be expanded with local libraries. XML::SAX is one such library. CPAN is a tool which can be used to retrieve libraries from the CPAN repository (Comprehensive Perl Archive Network, I believe).

I use CPAN is something I do infrequently, so I would be doing a disservice by trying to list the steps here. Better answers are, no doubt, on stackexchange. Nevertheless, these may help:

From your command line, start Perl running the CPAN module, and invoke the CPAN shell (your input in **bold**):

> **perl -MCPAN -e shell**  
cpan> **install XML::SAX**  
cpan> ... several lines of output ...  
Done!  
XML::SAX is up to date (0.99).  
cpan> **quit**  
>

With that done, try using slic3r again.


---

