TypeError: dist must be a Distribution instance

asked 3 years ago

roland gravatar image

updated 3 years ago

Hi,

Suddenly, using Cython magic, I got the message "TypeError: dist must be a Distribution instance".

I use Sage 9.3 Ubuntu with Jupyter and compile via %%cython -a.

I tried an other ipynb file, and there was no problem using Cython...
Only one ipynb file seems to have this problem.

Further research shows that the probable cause is the use of cython_lambda.

Any solution is very appreciated.

Roland

Preview: (hide)

Comments

You should provide more details on how to reproduce the issue. What is different with that ipynb file ?

tmonteil gravatar imagetmonteil ( 3 years ago )