# How to build Windows Tryton Client?

**URL:** https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563
**Category:** Developer
**Created:** [May 28, 2018, 7:50am UTC](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563 "2018-05-28T07:50:01Z")
**Posts on this page:** 8
**Page:** 2

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 10, 2019, 8:59am UTC](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563/21 "2019-01-10T08:59:19Z")

</div>

Looks like you did not install `mingw-w64-i686-atk`

---

<div class="post-metadata">

### Author: ![adeseg99](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@adeseg99](https://discuss.tryton.org/u/adeseg99)
#### Post date: [January 11, 2019, 3:23pm UTC](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563/22 "2019-01-11T15:23:17Z")

</div>

ok thanks i have compile it and working sorry to ask again can i use a trytond server of 4.6 to run 5.0 client

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 11, 2019, 3:38pm UTC](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563/23 "2019-01-11T15:38:04Z")

</div>

A post was split to a new topic: [Can I use a trytond server of 4.6 to run 5.0 client](https://discuss.tryton.org/t/can-i-use-a-trytond-server-of-4-6-to-run-5-0-client/1036)

---

<div class="post-metadata">

### Author: ![nzaniela](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/n/47e85d/32.png) [@nzaniela](https://discuss.tryton.org/u/nzaniela)
#### Post date: [February 10, 2019, 10:19am UTC](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563/24 "2019-02-10T10:19:58Z")

</div>

> [@maxx](#):
>
> curl [https://bootstrap.pypa.io/get-pip.py](https://bootstrap.pypa.io/get-pip.py) | python

```
This currently fails with the error tlib\scripts.py", line 245, in _write_script
    launcher = self._get_launcher('t')
  File "WindowsUser\AppData\Local\Temp\tmpikvxt9i4\pip.zip\pip\_vendor\distlib\scripts.py", line 384, in _get_launcher
    result = finder(distlib_package).find(name).bytes
AttributeError: 'NoneType' object has no attribute 'bytes'

```

Solution was to use ` pacman -S python3-pip` which installs python 3.7 and pip **Note** this is if you are building for the 5.0 and above

---

<div class="post-metadata">

### Author: ![adeseg99](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@adeseg99](https://discuss.tryton.org/u/adeseg99)
#### Post date: [March 21, 2019, 7:13pm UTC](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563/25 "2019-03-21T19:13:09Z")

</div>

running compile\_catalog  
compiling catalog tryton/data/locale/bg/LC\_MESSAGES/tryton.po to tryton/data/locale/bg/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/ca/LC\_MESSAGES/tryton.po to tryton/data/locale/ca/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/cs/LC\_MESSAGES/tryton.po to tryton/data/locale/cs/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/de/LC\_MESSAGES/tryton.po to tryton/data/locale/de/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/es/LC\_MESSAGES/tryton.po to tryton/data/locale/es/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/es\_419/LC\_MESSAGES/tryton.po to tryton/data/locale/es\_419/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/fa/LC\_MESSAGES/tryton.po to tryton/data/locale/fa/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/fr/LC\_MESSAGES/tryton.po to tryton/data/locale/fr/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/hu\_HU/LC\_MESSAGES/tryton.po to tryton/data/locale/hu\_HU/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/it\_IT/LC\_MESSAGES/tryton.po to tryton/data/locale/it\_IT/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/ja\_JP/LC\_MESSAGES/tryton.po to tryton/data/locale/ja\_JP/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/lo/LC\_MESSAGES/tryton.po to tryton/data/locale/lo/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/lt/LC\_MESSAGES/tryton.po to tryton/data/locale/lt/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/nl/LC\_MESSAGES/tryton.po to tryton/data/locale/nl/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/pl/LC\_MESSAGES/tryton.po to tryton/data/locale/pl/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/pt\_BR/LC\_MESSAGES/tryton.po to tryton/data/locale/pt\_BR/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/ru/LC\_MESSAGES/tryton.po to tryton/data/locale/ru/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/sl/LC\_MESSAGES/tryton.po to tryton/data/locale/sl/LC\_MESSAGES/tryton.mo  
compiling catalog tryton/data/locale/zh\_CN/LC\_MESSAGES/tryton.po to tryton/data/locale/zh\_CN/LC\_MESSAGES/tryton.mo  
Traceback (most recent call last):  
File “./setup-freeze.py”, line 82, in   
check\_call([‘g-ir-compiler’, ‘–output=’ + typefile\_tmp, gir\_tmp])  
File “/usr/lib/python3.7/subprocess.py”, line 342, in check\_call  
retcode = call(\*popenargs, \*\*kwargs)  
File “/usr/lib/python3.7/subprocess.py”, line 323, in call  
with Popen(\*popenargs, \*\*kwargs) as p:  
File “/usr/lib/python3.7/subprocess.py”, line 775, in **init**  
restore\_signals, start\_new\_session)  
File “/usr/lib/python3.7/subprocess.py”, line 1522, in \_execute\_child  
raise child\_exception\_type(errno\_num, err\_msg, err\_filename)  
FileNotFoundError: [Errno 2] No such file or directory: ‘g-ir-compiler’: ‘g-ir-compiler’

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [March 21, 2019, 7:59pm UTC](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563/26 "2019-03-21T19:59:30Z")

</div>

> [@adeseg99](#):
>
> FileNotFoundError: [Errno 2] No such file or directory: ‘g-ir-compiler’: ‘g-ir-compiler’

You must have `g-ir-compiler` in your $PATH. It comes with `gobject-introspection`.

---

<div class="post-metadata">

### Author: ![adeseg99](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@adeseg99](https://discuss.tryton.org/u/adeseg99)
#### Post date: [March 21, 2019, 8:02pm UTC](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563/27 "2019-03-21T20:02:03Z")

</div>

> [@ced](#):
>
> `gobject-introspection`

you mean at my windows environment path

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [March 21, 2019, 10:57pm UTC](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563/28 "2019-03-21T22:57:43Z")

</div>

> [@adeseg99](#):
>
> you mean at my windows environment path

We use msys32 so it is in the msys32 shell PATH.

[Previous page](https://discuss.tryton.org/t/how-to-build-windows-tryton-client/563.md?page=1)
