You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
(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
Hello. Thanks for ML for fairness!
(venv) ➜ experiments git:(master) ✗
python ./lending_demo.py --num_steps=500Traceback (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.