#1 by EvgenyK
I am having issues installing oTree on Mac Monterey. After installing Python and oTree I get the following message: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/bin/otree", line 8, in <module> sys.exit(execute_from_command_line()) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/otree/main.py", line 106, in execute_from_command_line setup() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/otree/main.py", line 130, in setup from otree import settings File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/otree/settings.py", line 50, in <module> OTREE_APPS = get_OTREE_APPS(settings.SESSION_CONFIGS) AttributeError: module 'settings' has no attribute 'SESSION_CONFIGS'
#2 by Chris_oTree ★,
What command did you run to get this message? "otree devserver"? Anyway, check your settings.py; it seems it is missing the required SESSION_CONFIGS setting.
#3 by EvgenyK
Thanks Chris. This seems to be an issue with PyCharm/creating a virtual environment. When I open an old project on my new machine using PyCharm, the folders all show up as empty. I think the only way around this would be to create an entirely new project and copy and paste the folders. Evgeny