# Slicer build fail

**URL:** https://discourse.slicer.org/t/slicer-build-fail/18284
**Category:** Development
**Created:** [June 22, 2021, 8:43pm UTC](https://discourse.slicer.org/t/slicer-build-fail/18284 "2021-06-22T20:43:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![smallvalthoss](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@smallvalthoss](https://discourse.slicer.org/u/smallvalthoss)
#### Post date: [June 22, 2021, 8:43pm UTC](https://discourse.slicer.org/t/slicer-build-fail/18284/1 "2021-06-22T20:43:20Z")

</div>

![Slicer errors](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/8/f809d0703b35e6ce8b9d4081b016b759822cfa94.png)  
I encountered these errors when trying to build. Any help would be appreciated.

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [June 22, 2021, 9:59pm UTC](https://discourse.slicer.org/t/slicer-build-fail/18284/2 "2021-06-22T21:59:44Z")

</div>

Most likely Anaconda messes up your build environment. You need to temporarily rename your main anaconda or conda folder to something else, build Slicer, and you can then restore the original name.

---

<div class="post-metadata">

### Author: ![smallvalthoss](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@smallvalthoss](https://discourse.slicer.org/u/smallvalthoss)
#### Post date: [June 23, 2021, 3:42pm UTC](https://discourse.slicer.org/t/slicer-build-fail/18284/3 "2021-06-23T15:42:52Z")

</div>

Thanks! I now just have one error:

```auto
Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB8066	Custom build for 'D:\D\S4R\CMakeFiles\551ca37c0026cda4fee29f0729cb6475\python-update.rule;D:\D\S4R\CMakeFiles\551ca37c0026cda4fee29f0729cb6475\python-patch.rule;D:\D\S4R\CMakeFiles\551ca37c0026cda4fee29f0729cb6475\python-configure.rule;D:\D\S4R\CMakeFiles\551ca37c0026cda4fee29f0729cb6475\python-build.rule;D:\D\S4R\CMakeFiles\551ca37c0026cda4fee29f0729cb6475\python-install.rule;D:\D\S4R\CMakeFiles\551ca37c0026cda4fee29f0729cb6475\python-configure_python_launcher.rule;D:\D\S4R\CMakeFiles\3b657cd1f5796cbed5301f0e73ca6eec\python-complete.rule;D:\D\S4R\CMakeFiles\0b4a24838f508b9d1726cbe947087ed5\python.rule' exited with code 1.	python	C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets	241	

```

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [June 23, 2021, 3:57pm UTC](https://discourse.slicer.org/t/slicer-build-fail/18284/4 "2021-06-23T15:57:21Z")

</div>

A post was split to a new topic: [How to create custom markup?](https://discourse.slicer.org/t/how-to-create-custom-markup/18305)
