I have downloaded Anaconda and intend to run Python in Spyder application. I separately downloaded QuantLib package using the code below in Anaconda CMD.
conda install -c tonyroberts quantlib
Now I can confirm that the package is downloaded as I can see it in the C:\Users\...\anaconda3\pkgs
folder. Moreover it is also visible in Anaconda Navigator (screenshot for reference):
Anaconda Navigator Screenshot
When I try to import the library in Spyder using below code:
import QuantLib as ql
it throws the error-
ModuleNotFoundError: No module named 'QuantLib'
Can anybody please help me know where exactly I am making the mistake?
Thanks.