Modules Installation error in Windows 10


I am getting error when I am installing all modules
python .\Scripts\trytond-admin -u admin -c trytond.cfg -d tryton -m -vv.
Installation error as mentioned below:

Traceback (most recent call last):
  File "E:\Tryton\env\tryton_server\Scripts\trytond-admin", line 23, in <module>
  File "E:\Tryton\env\tryton_server\lib\site-packages\trytond\", line 53, in run
    pool.init(update=options.update, lang=list(lang),
  File "E:\Tryton\env\tryton_server\lib\site-packages\trytond\", line 164, in init
    restart = not load_modules(
  File "E:\Tryton\env\tryton_server\lib\site-packages\trytond\modules\", line 438, in load_modules
  File "E:\Tryton\env\tryton_server\lib\site-packages\trytond\modules\", line 400, in _load_modules
    graph = create_graph(module_list)
  File "E:\Tryton\env\tryton_server\lib\site-packages\trytond\modules\", line 147, in create_graph
    info = get_module_info(module)
  File "E:\Tryton\env\tryton_server\lib\site-packages\trytond\modules\", line 85, in get_module_info
    with tools.file_open(os.path.join(name, 'tryton.cfg')) as fp:
  File "E:\Tryton\env\tryton_server\lib\site-packages\trytond\tools\", line 78, in file_open
    raise IOError('File not found : %s ' % name)
OSError: File not found : E:\Tryton\env\tryton_server\lib\site-packages\trytond\modules\admin\tryton.cfg

Thanks in advance


There is no module admin to update.

There is no option to activate all modules. You must explicitly list them in the --update option and you should also activate --activate-dependencies.

-u parameter is not used as user instead it means update and you can pass it a single or list of modules to update.
See help with trytond-admin --help

I am able to installed all modules with python .\Scripts\trytond-admin -c trytond.cfg -d tryton -m -vv
I just removed -u admin


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