polyanskiy / refractiveindex.info-scripts

Python scripts for refractiveindex.info database
GNU General Public License v3.0
68 stars 36 forks source link

Refractive index calculation in UBUNTU 16.04.4 #8

Closed hazraatrayee closed 5 years ago

hazraatrayee commented 6 years ago

I have downloaded the package 'refractiveindex.info-scripts-master". When I am trying to run the program by giving the command python ldbb.py, while positioned in ldbb, there is showing some error as mentioned below.

dell@dell-OptiPlex-3050:~/refractiveindex.info-scripts-master/ldbb$ python ldbb.py Traceback (most recent call last): File "ldbb.py", line 29, in from scipy import constants ImportError: No module named scipy

Could you please help me to solve this problem.

FilipDominec commented 6 years ago

scipy is a common module for scientific computing in Python. If you have Ubuntu, you can install it by running sudo apt-get install python-scipy.

hazraatrayee commented 6 years ago

when this command is used what i am getting is:

root@dell-OptiPlex-3050:~# sudo apt-get install python-scipy E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Now what should i do?

FilipDominec commented 6 years ago

Dear hazraatrayee, this error is completely unrelated to the refractiveindex.info-scripts. Please search the ubuntu help/forums to find the solution.

hazraatrayee commented 6 years ago

Ok, Thank you.