-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A problem #11
Comments
Can you post the whole error message? |
Exception Traceback (most recent call last) File ~\AppData\Local\anaconda3\Lib\site-packages\HARK\ConsumptionSaving\ConsPortfolioModel.py:172, in PortfolioConsumerType.init(self, verbose, quiet, **kwds) File ~\AppData\Local\anaconda3\Lib\site-packages\HARK\ConsumptionSaving\ConsRiskyAssetModel.py:70, in IndShockRiskyAssetConsumerType.init(self, verbose, quiet, **kwds) File ~\AppData\Local\anaconda3\Lib\site-packages\HARK\ConsumptionSaving\ConsIndShockModel.py:2295, in IndShockConsumerType.init(self, verbose, quiet, **kwds) File ~\AppData\Local\anaconda3\Lib\site-packages\HARK\ConsumptionSaving\ConsPortfolioModel.py:191, in PortfolioConsumerType.update(self) File ~\AppData\Local\anaconda3\Lib\site-packages\HARK\ConsumptionSaving\ConsRiskyAssetModel.py:88, in IndShockRiskyAssetConsumerType.update(self) File ~\AppData\Local\anaconda3\Lib\site-packages\HARK\ConsumptionSaving\ConsIndShockModel.py:2348, in IndShockConsumerType.update(self) File ~\AppData\Local\anaconda3\Lib\site-packages\HARK\ConsumptionSaving\ConsIndShockModel.py:2313, in IndShockConsumerType.update_income_process(self) File ~\AppData\Local\anaconda3\Lib\site-packages\HARK\ConsumptionSaving\ConsIndShockModel.py:3733, in IndShockConsumerType.construct_lognormal_income_process_unemployment(self) File ~\AppData\Local\anaconda3\Lib\site-packages\HARK\distribution.py:1315, in IndexDistribution.init(self, engine, conditional, RNG, seed) Exception: IndexDistribution: Unhandled case for getitem access. item0: [0.1029563 0.1029563 0.1029563 0.1029563 0.1029563 0.1029563 0.1029563 |
Hi, Mridul, I posted the error in two formats: PDF and Text. Thanks. Arthur |
I ran the code in this webpage on my local computer:
https://github.com/econ-ark/CGMPortfolio/blob/master/Code/Python/CGMPortfolio.ipynb
I ran into the following error:
I am using Anaconda: Anaconda3-2024.06-1-Windows-x86_64.exe
Please check.
Thanks.
The text was updated successfully, but these errors were encountered: