lifelib-dev / lifelib

Python package of actuarial models, tools, examples and learning materials.

Home Page:https://lifelib.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lifelib on Python 3.10

ShubhamGoel96 opened this issue · comments

Hi Team,

I am not able to import Lifelib package on Python 3.10. I am able to install lifelib from command prompt and use it in Anaconda. Could anayone please help me to import this package on python. Is there any documentation available?

Regards
Shubham Goel

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

import lifelib
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named '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 install -c conda-forge lifelib

The manual installation process can be found here: https://lifelib.io/installation.html

Lifelib is installed on Anaconda. I want to install it in python 3.10.

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

I got the python from - https://www.python.org/.

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.