Dear Nick... thanks for reply On Mon, Mar 12, 2012 at 6:20 PM, Nick Papior Andersen <[email protected]>wrote:
> Hi Pradeep > > The error is entirely a Python error. The problem is that Python can not > find your Scientific installation. You need to ensure that the installation > path is added to your PYTHONPATH. Your installation may very well have gone > smooth, but can possibly not have been installed in your PYTHONPATH. > Try this in your terminal: > python > import Scientific > > If this gives an error similar it is not installed in the correct path. > > For the record this is a reoccurring question in Python mailing lists. So > this question is better answered in a Python mailing list or on the > StackExchange fora. > Search for "python add to path" or "pythonpath" or "check pythonpath". > > You can quickly check if it is in your path, by doing this in your > terminal: > python > import sys > sys.path > > Kind regards Nick > > > 2012/3/12 Pradeep Kumar <[email protected]> > >> Dear Siesta Users... >> I have successfully installed numeric python, scientific python and >> gnuplot python, the installation goes very smooth and does not complain >> about anything. >> However, when i try to execute one exercise from Exercise-Lyon07(Day >> 1-->Ex-4 functional-->BCC-->LDA) using make command >> I get the following error: >> >> Traceback (most recent call last): >> File "latcon.py", line 9, in <module> >> import EquationOfState >> File >> "/home/pradeep/siesta/school/Exercises-Lyon07/Day-1/Ex-4-Functional/BCC/LDA/EquationOfState.py", >> line 35, in <module> >> from Scientific.Functions.LeastSquares import * >> ImportError: No module named Scientific.Functions.LeastSquares >> make: *** [Murnaghan] Error 1 >> >> pls find attached files..... >> any help is highly appreciated. I do not know what is causing the trouble. >> thanks in advance >> -- >> Pradeep Kumar >> >> > -- Pradeep Kumar
