I am trying to import the bbg package from the tia library in python. But it gives me the following error.
ImportError: DLL load failed: The specified module could not be found.
I also tried importing blpapi lib but it gives the same error as well. I dont understand what is the problem.
When I got to the folder on my desktop to see where the packages are, I see the files are present for both tia as well as blpapi.
import blpapi
import tia
Traceback (most recent call last):
File "<ipython-input-1-fc04960a7441>", line 1, in <module>
import blpapi
File "C:\Program Files\Anaconda\lib\site-packages\blpapi\__init__.py", line 5, in <module>
from .internals import CorrelationId
File "C:\Program Files\Anaconda\lib\site-packages\blpapi\internals.py", line 52, in <module>
_internals = swig_import_helper()
File "C:\Program Files\Anaconda\lib\site-packages\blpapi\internals.py", line 48, in swig_import_helper
_mod = imp.load_module('_internals', fp, pathname, description)
File "C:\Program Files\Anaconda\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Anaconda\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.