band-unfolding / bandup

BandUP: Band Unfolding code for Plane-wave based calculations
http://www.ifm.liu.se/theomod/compphys/band-unfolding
GNU General Public License v3.0
99 stars 49 forks source link

Error when compiling (./build) #25

Closed LOM-MSU closed 2 years ago

LOM-MSU commented 3 years ago

We have tried compiling this program with two different computers, one was a fresh install of python, python3, pip, numpy, scipy, matplotlib, six, etc.

We are getting the same error for both computers: $ ./build Traceback (most recent call last): File "./build", line 26, in <module> from bandupy.files import mkdir File "/home/lom/Documents/bandup-master/src/python_interface/bandupy/files.py", line 23, in <module> from scipy.constants import physical_constants ImportError: No module named scipy.constants

We have tried to change the code to things like "import scipy" with same error. It does not seem to recognize scipy. No internet searches have helped and we have puzzled over it for a long time without a clue. Any help would be appreciated. Thanks!

stepan-tsirkin commented 3 years ago

did you try pip install scipy ?

stepan-tsirkin commented 3 years ago

@LOM-MSU , have you resolved the issue ? Do I understand correctly that you have installed scipy, but bandup "does not see it"?

Can it be that the 'pip' end 'python' point to different python's (e.g. the built-in and an anaconda) ?

LOM-MSU commented 3 years ago

did you try pip install scipy ?

I think we did that... Cannot remember. I will ask.

@LOM-MSU , have you resolved the issue ? Do I understand correctly that you have installed scipy, but bandup "does not see it"?

Can it be that the 'pip' end 'python' point to different python's (e.g. the built-in and an anaconda) ?

Hi @stepan-tsirkin, I will get back with the grad student on this and see if/how he resolved the issue.