Open tljstewart opened 2 years ago
Thanks for bringing this up @tljstewart . I tried on my mac machine and did get it to install on python 3.9 without the matplotlib issue either (my pip version is 21.3.1
).
With 3.10, I am seeing similar scipy conflicts - we will need to investigate that.
Is the windows operating system and Python 3.9+ a strict requirement for you?
@sunil-s thanks for checking that out, I switch to python 3.7 (as noted in the setup.py) I almost found success there, installed via pip install -e .
, however now I get this error, unable to find the map file:
Note: this works without issue in google colab
I don't see that issue in my local machine. After you install the ai-economist, you may want to do a
pip show ai_economist|grep Location
to figure out where the package is installed.
Within that location ai_economist/foundation/scenarios/simple_wood_and_stone/map_txt
should exist and contain all the maps. Can you please check on your end?
Hey @sunil-s I think I have a fix for the map issue, I'll make a separate issue and then push a PR for it. Windows ahh! lol (Unfortunately I dev on both mac and win equally)
Thanks @tljstewart
Unable to
pip install ai-economist
orpip install -e .
in a freshconda
environment on windows, I have not tested on Mac or Linux as of today.versions:
python 3.9, pip 21.2.4
Issue:
matplotlib
dependency conflict:matplotlib==3.2.1
inrequirements.txt
then doing apip install matplotlib
after installingai-economist
verions:
python 3.10, pip 21.2.4
issue:
scipy
dependency conflictI'm running into similar
requirements.txt
issues withpoppygen
, a python package I've created that generates demographically accurate human agents. I'll update here if I find a more robust solution.