Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Update folders or imports in quick start #11

Description

@kjm0623v

Hello. Thanks for ML for fairness!

(venv) ➜ experiments git:(master) ✗ python ./lending_demo.py --num_steps=500
Traceback (most recent call last):
File "./lending_demo.py", line 26, in
from agents import threshold_policies

I already use the PATH code
export PYTHONPATH="${PYTHONPATH}:/path/to/ml-fairness-gym"
After ./tests.sh
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/traceback.py", line 285, in line
self._line = linecache.getline(self.filename, self.lineno).strip()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/linecache.py", line 16, in getline
lines = getlines(filename, module_globals)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/linecache.py", line 48, in getlines
for mod in sys.modules.values():
RuntimeError: dictionary changed size during iteration

And there I can not proceed anymore from here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions