oTree Forum >

ModuleNotFoundError after upgrade

#1 by apanin

I just (13 July 2022) installed the latest version of Otree and now I receive an error when I try to run any otree commands from my terminal. Please see below for the Traceback. I have Python 3.7 installed. 

Traceback (most recent call last):
  File "/usr/local/bin/otree", line 6, in <module>
    from otree_startup import execute_from_command_line
  File "/usr/local/lib/python3.7/site-packages/otree_startup/__init__.py", line 38, in <module>
    from . import zipserver
  File "/usr/local/lib/python3.7/site-packages/otree_startup/zipserver.py", line 8, in <module>
    from otree.management.commands.unzip import unzip
ModuleNotFoundError: No module named 'otree.management'

Write a reply

Set forum username