Error in running example file

36 views
Skip to first unread message

Brindaban Modak

unread,
Jan 29, 2021, 9:01:17 AM1/29/21
to CoFFEE code forum

Dear All,
May I asked some doubt related to running example file.
I have compiled the code after installing the necessary python libraries.
To run example file in 4 x 4 x 4 in 3D case
~/utility-files/CoFFEE_1.1/coffee.py in > out

but I got this error message

Traceback (most recent call last):
  File "/home/lus03/bmodak/utility-files/CoFFEE_1.1/coffee.py", line 5, in <module>
    from  PoissonSolver import *
  File "/home/lus03/bmodak/utility-files/CoFFEE_1.1/PoissonSolver/__init__.py", line 1, in <module>
    from .PS_main import *
  File "/home/lus03/bmodak/utility-files/CoFFEE_1.1/PoissonSolver/PS_main.py", line 1, in <module>
    from .classes import matvec2D,GlobalValues,IFFTnew,matvec1D_py
  File "/home/lus03/bmodak/utility-files/CoFFEE_1.1/PoissonSolver/classes.py", line 3, in <module>
    from scipy.sparse.linalg import LinearOperator, cg, cgs, bicgstab
ImportError: No module named scipy.sparse.linalg

Please help me.

Thanks and Regards
Brindaban Modak

Mit Naik

unread,
Feb 11, 2021, 1:10:45 AM2/11/21
to CoFFEE code forum
Hi Brindaban,

You don't seem to have the scipy module. You can check out this link:https://scipy.org/scipylib/download.html

Best,
Mit

Reply all
Reply to author
Forward
0 new messages