This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Issue when building agents #202
Comments
Please send me your firm class, there must be the culprit.
…On Sun, 14 Jun 2020, 22:48 CaleCornelius, ***@***.***> wrote:
Hi Davoud,
Thanks for writing such an innovative package.
I'm having an issue when trying to run the 'one household one firm with
logic' example, specifically with the line:
firms = simulation.build_agents(Firm, 'firm', 1)
This may be a noob issue in which case apologies, but it's not letting me
create a firm and stating 'TypeError: Firm() takes no arguments'. The same
happens when I switch the lines to put household first. Please let me know
if there's any further info I can provide to help with diagnostics,
Thanks,
Cale
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#202>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGUVZN7US322SHNNZR2HTTRWULPHANCNFSM4N5SGHWQ>
.
|
Maybe @CaleCornelius was referring to the code in https://github.com/AB-CE/examples/tree/master/examples/one_household_one_firm_with_logic verbatim. However, I can't test this in latest abcEconomics due to the change in |
Hi Both, Thanks, |
@CaleCornelius how did you install abcEconomics? From pip? From this github repo? From the requirements.txt of the examples repo? What version is it on? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi Davoud,
Thanks for writing such an innovative package.
I'm having an issue when trying to run the 'one household one firm with logic' example, specifically with the line:
firms = simulation.build_agents(Firm, 'firm', 1)
This may be a noob issue in which case apologies, but it's not letting me create a firm and stating 'TypeError: Firm() takes no arguments'. The same happens when I switch the lines to put household first. Please let me know if there's any further info I can provide to help with diagnostics,
Thanks,
Cale
The text was updated successfully, but these errors were encountered: