# Upgrade Prolog 7.2.3 32 bits to 64 bits on Raspberry Pi?

**URL:** <https://swi-prolog.discourse.group/t/upgrade-prolog-7-2-3-32-bits-to-64-bits-on-raspberry-pi/4290>\
**Category:** Help!\
**Tags:** how-to\
**Created:** [August 14, 2021, 10:41am UTC](https://swi-prolog.discourse.group/t/upgrade-prolog-7-2-3-32-bits-to-64-bits-on-raspberry-pi/4290 "2021-08-14T10:41:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [August 14, 2021, 12:52pm UTC](https://swi-prolog.discourse.group/t/upgrade-prolog-7-2-3-32-bits-to-64-bits-on-raspberry-pi/4290/5 "2021-08-14T12:52:57Z")

</div>

Again I have not done this but my understanding is

1. I agree that both Python and SWI-Prolog both need to be at same bit-ness for this to work, either both 64-bit or both 32-bit.
2. You should be on newer versions of the software. Python 2.x is no longer supported and SWI-Prolog 7.x is so old that everyone will tell you to upgrade to 8.3.x.
3. You will have to build SWI-Prolog for use with Raspberry Pi. There are no ready to download builds of SWI-Prolog for Raspberry Pi. That is because Raspberry Pi uses ARM processors and there is not a great demand for this variation of SWI-Prolog it is not a standard part of the build and distribute process.

* * *

You might also consider creating a Docker image for building this variation. As an example there is [GitHub - SWI-Prolog/docker-swipl-build-mingw: Docker to cross-compile SWI-Prolog for Windows](https://github.com/SWI-Prolog/docker-swipl-build-mingw). Just modify it for building the Raspberry Pi version.

* * *

Also there is the Prolog Language Server which might satisfy your needs and is so new you could be the first to try it with Raspberry Pi.

[Prolog Language Server: Enabling swipl integration with Python and other languages](https://swi-prolog.discourse.group/t/prolog-language-server-enabling-swipl-integration-with-python-and-other-languages/4126)

---

_[View the full topic](https://swi-prolog.discourse.group/t/upgrade-prolog-7-2-3-32-bits-to-64-bits-on-raspberry-pi/4290)._
