Problem compiling in Windows Subsystem for Linux

33 views
Skip to first unread message

Amish Chovatiya

unread,
Nov 25, 2020, 7:20:35 PM11/25/20
to CoFFEE code forum
Hi,
I am trying to compile CoFFEE in windows subsystem for linux and getting multiple error messages similar to following:

PoissonSolver/MV_2D_cy/matvec2D.c:17566:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
17566 |     tstate->exc_value = local_value;
      |             ^~~~~~~~~
      |             curexc_value

This happens while running " python setup.py build_ext -b PoissonSolver/ ". Can someone please help me out with this?

Thanks,
Amish

Mit Naik

unread,
Nov 27, 2020, 1:09:09 AM11/27/20
to CoFFEE code forum
HI Amish,

What version of python did you use to compile? Can you try with python2?

Best,
Mit

Amish Chovatiya

unread,
Nov 30, 2020, 1:27:36 PM11/30/20
to CoFFEE code forum
Hi Mit,
I was using python3 before. It compiles with python2. Thanks!

Amish
Reply all
Reply to author
Forward
0 new messages