fumitoh

Results 85 comments of fumitoh

What does the error message say when you try to import lifelib?

Then lifelib is probably not installed. Start an Anaconda prompt, type `conda list` and check if lifelib is listed. If `lifelib` is not listed, install it by: ``` > conda...

How did you get the Python 3.10? What Python distribution was it in?

Then you should be able to install lifelib by: ``` > pip install lifelib ``` from Window's command prompt. Make sure the path to the Python is in `PATH`.

Hi @bayesflows , Do you or someone else need it? What's the use case? BTW, thanks for the last PR.

OK, the PR for includig a Makefile would be helpful. Thanks!

Yes, this can be used like a normal Python function.

Example ```python import modelx as mx @mx.defcells def cash_inflows(): return [1, 2, 3] @mx.defcells def cash_outflows(): return [2, 1, 0] @mx.uncached def get_pv(cashflows: list): rate = 0.05 disc = 1...

You mean by "the import module approach" the way you import modules by `new_module`?

This is a new feature. The import module approach is still available. I'll blog about pros and cons after introducing this.