# How to setup environment to create a new module

**URL:** https://discuss.tryton.org/t/how-to-setup-environment-to-create-a-new-module/1616
**Category:** Developer
**Created:** [July 29, 2019, 2:30pm UTC](https://discuss.tryton.org/t/how-to-setup-environment-to-create-a-new-module/1616 "2019-07-29T14:30:00Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![mwl](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mwl](https://discuss.tryton.org/u/mwl)
#### Post date: [July 29, 2019, 5:38pm UTC](https://discuss.tryton.org/t/how-to-setup-environment-to-create-a-new-module/1616/3 "2019-07-29T17:38:09Z")

</div>

Thank you Luca.  
I’m attempting to setup a virtual environment by following this - is it the best set of steps to follow?

> [@Guide to get a basic development environment](https://discuss.tryton.org/t/guide-to-get-a-basic-development-environment/1444):
>
> I would like to propose a little guide to get a development environment ready to work for newcomers to tryton. This guide would be a new web page accessible through a link on “Make your modification.” phrase in [Tryton - How to Develop](https://www.tryton.org/develop)[https://codereview.tryton.org/249431003/](https://codereview.tryton.org/249431003/)Guide trytond Create a virtual environment: $ cd .. # up folder level where tryton-env repository was cloned $ python3 -m venv . $ source bin/activate $ cd tryton-env Install dependencies: (virtual\_env) $ pip install w…

When I try this command

```auto
trytond/bin/trytond-admin -d test_db -u ir res -v

```

I get (among other errors), this  
UserWarning: Unable to create index with parameters  
warnings.warn(‘Unable to create index with parameters’)

I was able to get the steps in  
**Create a virtual environment:**  
**Install dependencies:**  
and  
**Test trytond server:**  
completed without error, however

---

_[View the full topic](https://discuss.tryton.org/t/how-to-setup-environment-to-create-a-new-module/1616)._
