Devserver

145 views
Skip to first unread message

Miriam Schmidt

unread,
Jul 20, 2021, 9:00:07 AM7/20/21
to oTree help & discussion

Hello all,
I am new to otree and try to learn it via Youtube videos and this community. I hope this is not a stupid question but I tried to have a look at my experiment via otree devserver but I got this message: E:\usb\Melessa\otree_try\__temp_migrations>otree devserver
Traceback (most recent call last):
  File "c:\program files\python38\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\program files\python38\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python38\Scripts\otree.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'otree.main'

I am sorry for this basic question but I am very dumbfounded. Thank you in advance!

Best!

Chris @ oTree

unread,
Jul 21, 2021, 3:19:21 AM7/21/21
to oTree help & discussion
- Maybe try uninstalling and reinstalling oTree. Could be an incomplete installation somehow.
- Don't run devserver from the __temp_migrations folder.
- it looks like you're running it on a USB stick? that could be slow and maybe cause other issues.

Miriam Schmidt

unread,
Jul 26, 2021, 8:14:05 PM7/26/21
to oTree help & discussion
Hi Chris, thank you for your response! What helped was uninstall pycharm edu and change to the professional version and also delete __temp_migrations folder .
Reply all
Reply to author
Forward
0 new messages