# Is it possible to install tryton server on a windows desktop?

**URL:** https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256
**Category:** System Administrator
**Created:** [January 30, 2020, 12:42pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256 "2020-01-30T12:42:46Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![tryhard](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/67e7ee/32.png) [@tryhard](https://discuss.tryton.org/u/tryhard)
#### Post date: [January 30, 2020, 12:42pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/1 "2020-01-30T12:42:47Z")

</div>

Hi is there a way to install tryton server on a windows? I’m looking for a non docker ver

---

<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 30, 2020, 12:47pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/2 "2020-01-30T12:47:23Z")

</div>

Yes it is doable because it is a Python package like any other so you can install it if you have a working Python environment.  
You may have trouble with some dependencies that requires to be compiled (but usually they have pre-built wheels).  
But it is not advise to install the server on Windows. Any core developer does it and so you will be alone and mainly without any support.

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [January 30, 2020, 1:41pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/3 "2020-01-30T13:41:21Z")

</div>

Besides getting a PostgreSQL database server up and running, you need Python. For that you can install Anaconda ([Download Anaconda Distribution | Anaconda](https://www.anaconda.com/distribution/)) which already comes with a bunch of packages including pip (you can also start doing science if you want 😄) . But you need to be a bit careful about using pip see [Using Pip in a Conda Environment | Anaconda](https://www.anaconda.com/using-pip-in-a-conda-environment/).  
It’s a nice challange though 😅

---

<div class="post-metadata">

### Author: ![tryhard](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/67e7ee/32.png) [@tryhard](https://discuss.tryton.org/u/tryhard)
#### Post date: [April 11, 2020, 3:09pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/4 "2020-04-11T15:09:01Z")

</div>

thanks but im looking for a step by step guide on how to do this. If there is can anyone link me

---

<div class="post-metadata">

### Author: ![ioanp](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ioanp/32/782_2.png) [@ioanp](https://discuss.tryton.org/u/ioanp)
#### Post date: [April 11, 2020, 10:13pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/5 "2020-04-11T22:13:12Z")

</div>

- Install Postgresql (simple)
- Install Python 3 (simple)
- Install [via pip Psycopg2](https://kb.objectrocket.com/postgresql/how-to-install-psycopg2-in-windows-1460) & [Trytond](https://www.datacamp.com/community/tutorials/pip-python-package-manager) (server)

Now you are ready !!!

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [April 12, 2020, 6:42am UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/6 "2020-04-12T06:42:57Z")

</div>

2 posts were split to a new topic: [Minimum requirements to run trytond](https://discuss.tryton.org/t/minimum-requirements-to-run-trytond/2575)

---

<div class="post-metadata">

### Author: ![tryhard](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/67e7ee/32.png) [@tryhard](https://discuss.tryton.org/u/tryhard)
#### Post date: [April 12, 2020, 3:19pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/7 "2020-04-12T15:19:41Z")

</div>

@ioanp

Hi so ive installed all those things. what should i do next

---

<div class="post-metadata">

### Author: ![ioanp](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ioanp/32/782_2.png) [@ioanp](https://discuss.tryton.org/u/ioanp)
#### Post date: [April 12, 2020, 4:10pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/8 "2020-04-12T16:10:32Z")

</div>

@tryhard

- create a [config file](https://www.akarei.cz/tryton/_downloads/etc_tryton_trytond.conf) (your\_trytond.conf) and one database in postgresql (your\_db)
- run trytond-admin -c your\_trytond.conf -d your\_db --all (put admin password)
- run server: trytond -c your\_trytond.conf (you will see Running on http://[::]:4545/ (Press CTRL+C to quit))
- open browser at [http://localhost:4545](http://localhost:4545)
- login with user:admin and … that is all !!!

P.S. read the [manual](https://docs.tryton.org/projects/server/en/latest/topics/index.html)

---

<div class="post-metadata">

### Author: ![tryhard](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/67e7ee/32.png) [@tryhard](https://discuss.tryton.org/u/tryhard)
#### Post date: [April 15, 2020, 6:25am UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/9 "2020-04-15T06:25:23Z")

</div>

@ioanp

~~I tried going to (main python folder)/scripts and run trytond but it just gives me filename not recognize. The folder contains a trytond file and also a tryton-admin file. Is there a step that i should be doing to run it~~

I have now able to run trytond-admin and trytond server. My next issue is whenever i access the localhost server it just gives me error. I can already see the text running on localhost:8000 on the cmd prompt. I also tried the desktop client found on the python main page v5.0 and it returned error when connecting saying “incompatible version server”.

What should my config file contain? I already have database in there. Also whenever i start the server it always gives me a warning to set timezone

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [April 15, 2020, 9:23am UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/10 "2020-04-15T09:23:21Z")

</div>

> [@tryhard](#):
>
> “incompatible version server”.

This means that the version of your Tryton-server is different from your Tryton-client. Tryton wants to have both version the same except the last digit. So check your version of the Tryton-server with

```auto
trytond --version

```

And see if this matches with your Tryton-client version. Example: if the output of the command above is like `trytond 5.4.7` your client should also be `5.4.x`. As I mentioned before the last digit doesn’t matter, only the first two.

---

<div class="post-metadata">

### Author: ![tryhard](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/67e7ee/32.png) [@tryhard](https://discuss.tryton.org/u/tryhard)
#### Post date: [April 15, 2020, 3:26pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/11 "2020-04-15T15:26:35Z")

</div>

@edbo

hi thanks. i have it work now. I can now finally connect to the server. All is good now

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [May 15, 2020, 3:26pm UTC](https://discuss.tryton.org/t/is-it-possible-to-install-tryton-server-on-a-windows-desktop/2256/12 "2020-05-15T15:26:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
