I have installed spectral library in Python 3.7 according to the commands given on the documentation site of SPy(spectral python)
The commands were :
python setup.py install
pip install spectral
(the website is this: http://www.spectralpython.net/installation.html)
But, when I import it on python, it shows this error:
Traceback (most recent call last): File "C:\Users\lenovo\hyprspectral classification using nn\Hyper-Spectral-Net.py", line 8, in import spectral
ModuleNotFoundError: No module named 'spectral'
Whereas on command prompt, it is showing that spectral has been successfully installed. It will be very helpful if someone can tell the solution for this.